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.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.001802/0.001802, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001967/0.001967, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.55/1.55, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003403/0.003403, allocations: 227.2 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.182/1.182, allocations: 138.4 MB / 454.7 MB, free: 1.516 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(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 1.513e-06/1.513e-06, allocations: 0 / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.597e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005789/0.005815, allocations: 3.306 MB / 0.5576 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003973/0.009788, allocations: 2.042 MB / 0.5596 GB, free: 11.48 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.009956, allocations: 7.938 kB / 0.5596 GB, free: 11.48 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.01102, allocations: 294.8 kB / 0.5599 GB, free: 11.19 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006469/0.01167, allocations: 242.6 kB / 0.5601 GB, free: 10.95 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007663/0.01243, allocations: 295 kB / 0.5604 GB, free: 10.66 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006147/0.01305, allocations: 418.6 kB / 0.5608 GB, free: 10.25 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.01344, allocations: 164.3 kB / 0.5609 GB, free: 10.09 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004529/0.01389, allocations: 231.4 kB / 0.5611 GB, free: 9.863 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004335/0.01433, allocations: 183.5 kB / 0.5613 GB, free: 9.684 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.323e-05/0.01439, allocations: 24 kB / 0.5613 GB, free: 9.66 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000501/0.01489, allocations: 255.3 kB / 0.5616 GB, free: 9.41 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.01507, allocations: 127.7 kB / 0.5617 GB, free: 9.285 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.01523, allocations: 103.8 kB / 0.5618 GB, free: 9.184 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008248/0.01606, allocations: 0.5062 MB / 0.5623 GB, free: 8.676 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01606, allocations: 4 kB / 0.5623 GB, free: 8.672 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01606, allocations: 0 / 0.5623 GB, free: 8.672 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.01607, allocations: 0 / 0.5623 GB, free: 8.672 MB / 490.7 MB 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.001268/0.01734, allocations: 0.6435 MB / 0.5629 GB, free: 7.992 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.01737, allocations: 16.75 kB / 0.563 GB, free: 7.977 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.01848, allocations: 160.4 kB / 0.5631 GB, free: 7.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.01893, allocations: 212.9 kB / 0.5633 GB, free: 7.582 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.01896, allocations: 24.86 kB / 0.5633 GB, free: 7.555 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.01909, allocations: 36.64 kB / 0.5634 GB, free: 7.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000755/0.01984, allocations: 436.6 kB / 0.5638 GB, free: 7.031 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.01986, allocations: 4.188 kB / 0.5638 GB, free: 7.027 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.01991, allocations: 15.92 kB / 0.5638 GB, free: 7.012 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001573/0.02007, allocations: 40.47 kB / 0.5638 GB, free: 6.973 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005247/0.02059, allocations: 205.8 kB / 0.564 GB, free: 6.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002942/0.02353, allocations: 1.904 MB / 0.5659 GB, free: 4.793 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.02391, allocations: 150.9 kB / 0.566 GB, free: 4.633 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.02406, allocations: 71.67 kB / 0.5661 GB, free: 4.559 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.02409, allocations: 7.938 kB / 0.5661 GB, free: 4.551 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.02412, allocations: 37.38 kB / 0.5661 GB, free: 4.504 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.02412, allocations: 0 / 0.5661 GB, free: 4.504 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.001596/0.02572, allocations: 0.5809 MB / 0.5667 GB, free: 3.891 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.02577, allocations: 59.34 kB / 0.5668 GB, free: 3.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/0.02618, allocations: 322.7 kB / 0.5671 GB, free: 3.488 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.02622, allocations: 33.7 kB / 0.5671 GB, free: 3.449 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.0264, allocations: 239.1 kB / 0.5673 GB, free: 3.211 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.02651, allocations: 103.2 kB / 0.5674 GB, free: 3.109 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.02668, allocations: 91.25 kB / 0.5675 GB, free: 3.012 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002906/0.02698, allocations: 0.5157 MB / 0.568 GB, free: 2.484 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.02721, allocations: 71.95 kB / 0.5681 GB, free: 2.414 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.02754, allocations: 206.2 kB / 0.5683 GB, free: 2.168 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000546/0.02809, allocations: 302 kB / 0.5686 GB, free: 1.828 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.02809, allocations: 0 / 0.5686 GB, free: 1.828 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001143/0.02923, allocations: 429.6 kB / 0.569 GB, free: 1.398 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.02925, allocations: 8 kB / 0.569 GB, free: 1.391 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.02926, allocations: 0 / 0.569 GB, free: 1.391 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/0.03055, allocations: 207.6 kB / 0.5692 GB, free: 1.184 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.03089, allocations: 63.89 kB / 0.5693 GB, free: 1.121 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003012/0.0339, allocations: 2.261 MB / 0.5715 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004155/0.03431, allocations: 32 kB / 0.5715 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.03435, allocations: 12 kB / 0.5715 GB, free: 14.69 MB / 0.4948 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.0001837/0.03453, allocations: 176.5 kB / 0.5717 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.352e-05/0.03462, allocations: 31.86 kB / 0.5717 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005108/0.03513, allocations: 218.6 kB / 0.5719 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.03513, allocations: 4 kB / 0.5719 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.03514, allocations: 3.938 kB / 0.5719 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.03514, allocations: 3.984 kB / 0.5719 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.03624, allocations: 0.6176 MB / 0.5725 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.03625, allocations: 4 kB / 0.5725 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004407/0.03669, allocations: 71.88 kB / 0.5726 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.03669, allocations: 4 kB / 0.5726 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.03672, allocations: 7.938 kB / 0.5726 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.03673, allocations: 4 kB / 0.5726 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.03673, allocations: 0 / 0.5726 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006752/0.0374, allocations: 437.8 kB / 0.573 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.03756, allocations: 59.83 kB / 0.5731 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.03761, allocations: 11.98 kB / 0.5731 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.03786, allocations: 15.98 kB / 0.5731 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.03791, allocations: 15.97 kB / 0.5731 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.03793, allocations: 4 kB / 0.5731 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002643/0.0382, allocations: 222.2 kB / 0.5734 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.0382, allocations: 0 / 0.5734 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000422/0.03862, allocations: 88 kB / 0.5734 GB, free: 12.63 MB / 0.4948 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.0001796/0.0388, allocations: 119.1 kB / 0.5735 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009603/0.03976, allocations: 468.9 kB / 0.574 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.03976, allocations: 0 / 0.574 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.03995, allocations: 92.16 kB / 0.5741 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.04042, allocations: 60.69 kB / 0.5741 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.04188, allocations: 0.7012 MB / 0.5748 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.0421, allocations: 177.8 kB / 0.575 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002077/0.0423, allocations: 54.23 kB / 0.575 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.723e-05/0.0424, allocations: 28.48 kB / 0.5751 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.0424, allocations: 0 / 0.5751 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.01019/0.05259, allocations: 4.221 MB / 0.5792 GB, free: 6.688 MB / 0.4948 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.792046786053106]