Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002405/0.002405, allocations: 290.9 kB / 304.8 MB, free: 3.492 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.094/1.094, allocations: 180.9 MB / 0.5282 GB, free: 1.891 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002843/0.002843, allocations: 99.84 kB / 0.7283 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4372, allocations: 94.17 MB / 0.8203 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005096/0.4423, allocations: 3.362 MB / 0.8236 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003577/0.4458, allocations: 2.086 MB / 0.8256 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.446, allocations: 8.062 kB / 0.8256 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.447, allocations: 300.4 kB / 0.8259 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000537/0.4475, allocations: 239.3 kB / 0.8261 GB, free: 108 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007018/0.4482, allocations: 296.1 kB / 0.8264 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004577/0.4487, allocations: 407.5 kB / 0.8268 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.449, allocations: 141.3 kB / 0.8269 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.4492, allocations: 171.3 kB / 0.8271 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003799/0.4496, allocations: 210.5 kB / 0.8273 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.592e-05/0.4496, allocations: 23.5 kB / 0.8273 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004649/0.4501, allocations: 275.5 kB / 0.8276 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.4503, allocations: 118.7 kB / 0.8277 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.4504, allocations: 147.1 kB / 0.8278 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006328/0.4511, allocations: 495.8 kB / 0.8283 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4511, allocations: 1.438 kB / 0.8283 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4511, allocations: 0 / 0.8283 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.4511, allocations: 4 kB / 0.8283 GB, free: 14.72 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001114/0.4522, allocations: 0.6009 MB / 0.8289 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.4522, allocations: 9.156 kB / 0.8289 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009737/0.4532, allocations: 120.8 kB / 0.829 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.4536, allocations: 287.1 kB / 0.8293 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.4536, allocations: 18.89 kB / 0.8293 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.4537, allocations: 33.61 kB / 0.8294 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007558/0.4545, allocations: 464.4 kB / 0.8298 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.4545, allocations: 1.094 kB / 0.8298 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.4545, allocations: 11.72 kB / 0.8298 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/0.4547, allocations: 50.56 kB / 0.8299 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000649/0.4553, allocations: 365.8 kB / 0.8302 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/0.458, allocations: 2.204 MB / 0.8324 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.4585, allocations: 248 kB / 0.8326 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.4587, allocations: 147 kB / 0.8327 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.4587, allocations: 2.562 kB / 0.8327 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.4588, allocations: 31.72 kB / 0.8328 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.4588, allocations: 3.938 kB / 0.8328 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.001879/0.4606, allocations: 1.067 MB / 0.8338 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.4607, allocations: 54 kB / 0.8339 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.461, allocations: 254.1 kB / 0.8341 GB, free: 10 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.4611, allocations: 31.08 kB / 0.8341 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.4612, allocations: 199.1 kB / 0.8343 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.368e-05/0.4613, allocations: 89.58 kB / 0.8344 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.4614, allocations: 80.09 kB / 0.8345 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.4616, allocations: 333.7 kB / 0.8348 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.4619, allocations: 158.6 kB / 0.835 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.4623, allocations: 249.3 kB / 0.8352 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000599/0.4629, allocations: 405.9 kB / 0.8356 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4629, allocations: 0 / 0.8356 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00123/0.4641, allocations: 0.5993 MB / 0.8362 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4641, allocations: 9.812 kB / 0.8362 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4641, allocations: 3.125 kB / 0.8362 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007085/0.4648, allocations: 194.8 kB / 0.8364 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.4651, allocations: 66.45 kB / 0.8364 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003163/0.4683, allocations: 2.498 MB / 0.8389 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.4687, allocations: 28 kB / 0.8389 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.4687, allocations: 15.59 kB / 0.8389 GB, free: 6.273 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001996/0.4689, allocations: 160.5 kB / 0.8391 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.469, allocations: 27.08 kB / 0.8391 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005856/0.4696, allocations: 361.2 kB / 0.8394 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4696, allocations: 6.562 kB / 0.8394 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4696, allocations: 4 kB / 0.8394 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4696, allocations: 0 / 0.8394 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.4707, allocations: 0.8131 MB / 0.8402 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4707, allocations: 1.188 kB / 0.8402 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/0.4711, allocations: 73.62 kB / 0.8403 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.4711, allocations: 1.375 kB / 0.8403 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.4712, allocations: 12.02 kB / 0.8403 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4712, allocations: 5.062 kB / 0.8403 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4712, allocations: 1.156 kB / 0.8403 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007857/0.472, allocations: 0.6077 MB / 0.8409 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.4721, allocations: 132.2 kB / 0.8411 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.4722, allocations: 8.281 kB / 0.8411 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.4724, allocations: 17.48 kB / 0.8411 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.4725, allocations: 15.98 kB / 0.8411 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.4725, allocations: 5.062 kB / 0.8411 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002506/0.4727, allocations: 187.6 kB / 0.8413 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4727, allocations: 0 / 0.8413 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004262/0.4732, allocations: 98.98 kB / 0.8414 GB, free: 4.555 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001662/0.4733, allocations: 115.1 kB / 0.8415 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009725/0.4743, allocations: 0.5141 MB / 0.842 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4743, allocations: 0.625 kB / 0.842 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.4745, allocations: 143.5 kB / 0.8421 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.475, allocations: 60.42 kB / 0.8422 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.4765, allocations: 0.849 MB / 0.843 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.4769, allocations: 0.7875 MB / 0.8438 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002142/0.4771, allocations: 78.62 kB / 0.8438 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.243e-05/0.4772, allocations: 22.75 kB / 0.8439 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.4772, allocations: 0 / 0.8439 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.008664/0.4859, allocations: 4.349 MB / 0.8481 GB, free: 460 kB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.200496039353311]