Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 88.22 kB / 20.43 MB, free: 4.148 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 165 kB / 23.79 MB, free: 0.7852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.951/0.951, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6649/0.6649, allocations: 115 MB / 375.7 MB, free: 7.672 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/3.017e-05, allocations: 4.5 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.004095/0.004125, allocations: 2.53 MB / 484 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.006795, allocations: 1.417 MB / 485.5 MB, free: 9.332 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.007006, allocations: 7.625 kB / 485.5 MB, free: 9.328 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006016/0.007607, allocations: 88.42 kB / 485.5 MB, free: 9.281 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005757/0.008183, allocations: 186.8 kB / 485.7 MB, free: 9.176 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006847/0.008868, allocations: 233.3 kB / 486 MB, free: 9.059 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005278/0.009396, allocations: 419.1 kB / 486.4 MB, free: 8.867 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003994/0.009795, allocations: 165.4 kB / 486.5 MB, free: 8.793 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004287/0.01022, allocations: 230.2 kB / 486.8 MB, free: 8.699 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004125/0.01064, allocations: 172.8 kB / 486.9 MB, free: 8.645 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.104e-05/0.01071, allocations: 28.56 kB / 487 MB, free: 8.645 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.01115, allocations: 188 kB / 487.1 MB, free: 8.594 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.01127, allocations: 111.7 kB / 487.2 MB, free: 8.535 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.01139, allocations: 100.9 kB / 487.3 MB, free: 8.492 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005859/0.01198, allocations: 362.2 kB / 487.7 MB, free: 8.348 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.01199, allocations: 1.156 kB / 487.7 MB, free: 8.348 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.01199, allocations: 0 / 487.7 MB, free: 8.348 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.01199, allocations: 1.531 kB / 487.7 MB, free: 8.348 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001033/0.01303, allocations: 0.6656 MB / 488.4 MB, free: 7.793 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.01307, allocations: 13.53 kB / 488.4 MB, free: 7.789 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.0141, allocations: 173.7 kB / 488.5 MB, free: 7.746 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.0145, allocations: 236.7 kB / 488.8 MB, free: 7.555 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.01453, allocations: 15.81 kB / 488.8 MB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.617e-05/0.01459, allocations: 22.69 kB / 488.8 MB, free: 7.543 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006362/0.01523, allocations: 344.9 kB / 489.2 MB, free: 7.332 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.01525, allocations: 192 / 489.2 MB, free: 7.332 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.01529, allocations: 16.86 kB / 489.2 MB, free: 7.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.568e-05/0.01534, allocations: 28.47 kB / 489.2 MB, free: 7.312 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.01573, allocations: 152.3 kB / 489.3 MB, free: 7.285 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.01747, allocations: 1.471 MB / 490.8 MB, free: 22.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/0.01815, allocations: 274.3 kB / 491.1 MB, free: 21.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.01828, allocations: 73.14 kB / 491.2 MB, free: 21.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.01839, allocations: 13.64 kB / 491.2 MB, free: 21.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.01863, allocations: 198.9 kB / 491.4 MB, free: 21.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 2.124e-06/0.01863, allocations: 2.094 kB / 491.4 MB, free: 21.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008678/0.0195, allocations: 369.6 kB / 491.7 MB, free: 21.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.01953, allocations: 81.58 kB / 491.8 MB, free: 21.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.0197, allocations: 276.7 kB / 492.1 MB, free: 21.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.01972, allocations: 34.8 kB / 492.1 MB, free: 21.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.758e-05/0.01981, allocations: 209.1 kB / 492.3 MB, free: 21.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.01987, allocations: 105.5 kB / 492.4 MB, free: 20.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.833e-05/0.01995, allocations: 68.66 kB / 492.5 MB, free: 20.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.02008, allocations: 0.5083 MB / 493 MB, free: 20.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.02022, allocations: 100.1 kB / 493.1 MB, free: 20.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.02037, allocations: 199.7 kB / 493.3 MB, free: 20.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.02067, allocations: 282.5 kB / 493.6 MB, free: 20.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.02067, allocations: 1.125 kB / 493.6 MB, free: 20.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004983/0.02117, allocations: 393.2 kB / 493.9 MB, free: 19.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.0212, allocations: 32.23 kB / 494 MB, free: 19.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.0212, allocations: 2.656 kB / 494 MB, free: 19.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000203/0.02141, allocations: 40.59 kB / 494 MB, free: 19.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.02165, allocations: 84.86 kB / 494.1 MB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009998/0.02265, allocations: 1.855 MB / 496 MB, free: 17.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.02284, allocations: 45.69 kB / 496 MB, free: 17.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.02287, allocations: 17.75 kB / 496 MB, free: 17.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001922/0.02306, allocations: 217 kB / 496.2 MB, free: 17.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001516/0.02321, allocations: 194.5 kB / 496.4 MB, free: 17.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002706/0.02348, allocations: 270.2 kB / 496.7 MB, free: 17.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.02348, allocations: 0.5625 kB / 496.7 MB, free: 17.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004632/0.02395, allocations: 367.5 kB / 497 MB, free: 17.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.02397, allocations: 34.48 kB / 497.1 MB, free: 17.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.02397, allocations: 5.047 kB / 497.1 MB, free: 17.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000119/0.02409, allocations: 47.22 kB / 497.1 MB, free: 17.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.02431, allocations: 88.94 kB / 497.2 MB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000871/0.02518, allocations: 1.856 MB / 499.1 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.02536, allocations: 37.53 kB / 499.1 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.02538, allocations: 14.61 kB / 499.1 MB, free: 15.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.02552, allocations: 296.7 kB / 499.4 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.02557, allocations: 37.14 kB / 499.4 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.02596, allocations: 267.1 kB / 499.7 MB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.02597, allocations: 8.297 kB / 499.7 MB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.02597, allocations: 1.094 kB / 499.7 MB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.02598, allocations: 1.25 kB / 499.7 MB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.02638, allocations: 476.4 kB / 0.4885 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.02638, allocations: 2.5 kB / 0.4885 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.02655, allocations: 64.16 kB / 0.4885 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/0.02666, allocations: 39.91 kB / 0.4886 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.02668, allocations: 11.38 kB / 0.4886 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000741/0.02742, allocations: 1.798 MB / 0.4903 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.02742, allocations: 5.25 kB / 0.4903 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/0.02779, allocations: 408.1 kB / 0.4907 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.02788, allocations: 59 kB / 0.4908 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.0279, allocations: 10.34 kB / 0.4908 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.02805, allocations: 29.09 kB / 0.4908 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/0.02812, allocations: 32.84 kB / 0.4908 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.02814, allocations: 10.81 kB / 0.4909 GB, free: 12.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001209/0.02826, allocations: 204.2 kB / 0.4911 GB, free: 12.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02826, allocations: 0 / 0.4911 GB, free: 12.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004561/0.02872, allocations: 131.5 kB / 0.4912 GB, free: 12.15 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001539/0.02887, allocations: 111 kB / 0.4913 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008689/0.02974, allocations: 0.8444 MB / 0.4921 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.02974, allocations: 4.375 kB / 0.4921 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.02997, allocations: 279.4 kB / 0.4924 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.03028, allocations: 62.2 kB / 0.4924 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009542/0.03123, allocations: 0.5581 MB / 0.493 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.912e-05/0.0313, allocations: 109.1 kB / 0.4931 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001753/0.03147, allocations: 84.94 kB / 0.4932 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.704e-05/0.03156, allocations: 36.08 kB / 0.4932 GB, free: 10.74 MB / 426.7 MB Notification: Performance of SimCode: time 7.91e-07/0.03156, allocations: 0 / 0.4932 GB, free: 10.74 MB / 426.7 MB Notification: Performance of Templates: time 0.008742/0.0403, allocations: 5.197 MB / 0.4983 GB, free: 9.832 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.750515850726515]