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.001442/0.001442, allocations: 84.73 kB / 19.44 MB, free: 360 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.001692/0.001692, allocations: 157.7 kB / 22.75 MB, free: 1.688 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.491/1.491, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.002617/0.002617, allocations: 240.8 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.186/1.186, allocations: 138.4 MB / 454.7 MB, free: 1.449 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.463e-06/1.463e-06, allocations: 0 / 0.5543 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.635e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.832 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005662/0.005688, allocations: 3.193 MB / 0.5574 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004082/0.009771, allocations: 1.968 MB / 0.5594 GB, free: 11.64 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.009973, allocations: 11.94 kB / 0.5594 GB, free: 11.63 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.01104, allocations: 290.8 kB / 0.5597 GB, free: 11.34 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006804/0.01172, allocations: 246.6 kB / 0.5599 GB, free: 11.1 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.01251, allocations: 295 kB / 0.5602 GB, free: 10.81 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006092/0.01311, allocations: 414.6 kB / 0.5606 GB, free: 10.41 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003894/0.0135, allocations: 164.3 kB / 0.5607 GB, free: 10.25 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004397/0.01394, allocations: 223.5 kB / 0.5609 GB, free: 10.03 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004185/0.01436, allocations: 191.5 kB / 0.5611 GB, free: 9.84 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.056e-05/0.01443, allocations: 24 kB / 0.5611 GB, free: 9.816 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004959/0.01493, allocations: 255.3 kB / 0.5614 GB, free: 9.566 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.0151, allocations: 123.7 kB / 0.5615 GB, free: 9.445 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.01526, allocations: 103.8 kB / 0.5616 GB, free: 9.344 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008353/0.0161, allocations: 0.5024 MB / 0.5621 GB, free: 8.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.0161, allocations: 4 kB / 0.5621 GB, free: 8.836 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.0161, allocations: 0 / 0.5621 GB, free: 8.836 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.01611, allocations: 0 / 0.5621 GB, free: 8.836 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.001282/0.0174, allocations: 0.5322 MB / 0.5626 GB, free: 8.273 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.01743, allocations: 12.75 kB / 0.5626 GB, free: 8.262 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.0186, allocations: 168.4 kB / 0.5628 GB, free: 8.098 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.01905, allocations: 218.1 kB / 0.563 GB, free: 7.855 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.01909, allocations: 24.8 kB / 0.563 GB, free: 7.828 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.01923, allocations: 36.69 kB / 0.5631 GB, free: 7.793 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009162/0.02015, allocations: 0.5225 MB / 0.5636 GB, free: 7.219 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.02017, allocations: 192 / 0.5636 GB, free: 7.219 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.763e-05/0.02021, allocations: 15.94 kB / 0.5636 GB, free: 7.203 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001604/0.02037, allocations: 36.47 kB / 0.5636 GB, free: 7.168 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007226/0.0211, allocations: 361.7 kB / 0.564 GB, free: 6.812 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.02395, allocations: 1.598 MB / 0.5655 GB, free: 5.156 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004946/0.02444, allocations: 246.3 kB / 0.5658 GB, free: 4.906 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.02469, allocations: 152.8 kB / 0.5659 GB, free: 4.754 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.02472, allocations: 4 kB / 0.5659 GB, free: 4.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.02476, allocations: 34.56 kB / 0.5659 GB, free: 4.707 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.02476, allocations: 0 / 0.5659 GB, free: 4.707 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.002033/0.02679, allocations: 0.9196 MB / 0.5668 GB, free: 3.758 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.02684, allocations: 63.34 kB / 0.5669 GB, free: 3.684 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.02719, allocations: 240.2 kB / 0.5671 GB, free: 3.441 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.02724, allocations: 33.7 kB / 0.5672 GB, free: 3.402 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.0274, allocations: 192.3 kB / 0.5673 GB, free: 3.211 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/0.02748, allocations: 79.33 kB / 0.5674 GB, free: 3.133 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.02764, allocations: 85.58 kB / 0.5675 GB, free: 3.043 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.02782, allocations: 330.8 kB / 0.5678 GB, free: 2.711 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.02815, allocations: 159.9 kB / 0.568 GB, free: 2.555 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.02856, allocations: 250.9 kB / 0.5682 GB, free: 2.277 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006955/0.02926, allocations: 406.8 kB / 0.5686 GB, free: 1.848 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.02926, allocations: 0 / 0.5686 GB, free: 1.848 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001409/0.03067, allocations: 0.616 MB / 0.5692 GB, free: 1.223 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.03068, allocations: 4 kB / 0.5692 GB, free: 1.219 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.03069, allocations: 4 kB / 0.5692 GB, free: 1.215 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.03204, allocations: 248.7 kB / 0.5694 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.0324, allocations: 63.89 kB / 0.5695 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003499/0.0359, allocations: 2.359 MB / 0.5718 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004236/0.03632, allocations: 23.97 kB / 0.5718 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/0.03636, allocations: 16 kB / 0.5718 GB, free: 14.39 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.0002064/0.03657, allocations: 169.8 kB / 0.572 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.22e-05/0.03665, allocations: 31.86 kB / 0.572 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007571/0.0374, allocations: 356.8 kB / 0.5724 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.03741, allocations: 3.938 kB / 0.5724 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.03741, allocations: 3.938 kB / 0.5724 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.03742, allocations: 7.984 kB / 0.5724 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.0386, allocations: 0.6987 MB / 0.5731 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.0386, allocations: 0 / 0.5731 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/0.03904, allocations: 75.94 kB / 0.5731 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.03905, allocations: 4 kB / 0.5732 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/0.03908, allocations: 15.92 kB / 0.5732 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.03909, allocations: 4 kB / 0.5732 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.03909, allocations: 0 / 0.5732 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009184/0.04001, allocations: 0.6215 MB / 0.5738 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.04016, allocations: 55.77 kB / 0.5738 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.04021, allocations: 8 kB / 0.5738 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.04047, allocations: 15.98 kB / 0.5739 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.04052, allocations: 11.97 kB / 0.5739 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.04054, allocations: 16 kB / 0.5739 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002557/0.04079, allocations: 178.3 kB / 0.5741 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.04079, allocations: 0 / 0.5741 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004599/0.04125, allocations: 88 kB / 0.5741 GB, free: 11.98 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.0001831/0.04144, allocations: 107.2 kB / 0.5742 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.04252, allocations: 0.5101 MB / 0.5747 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.04252, allocations: 0 / 0.5747 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.04277, allocations: 143.8 kB / 0.5749 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.04326, allocations: 57.92 kB / 0.5749 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.04484, allocations: 0.7524 MB / 0.5757 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.04508, allocations: 185.8 kB / 0.5758 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002442/0.04532, allocations: 78.22 kB / 0.5759 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.04542, allocations: 20.5 kB / 0.5759 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.04542, allocations: 3.938 kB / 0.5759 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of Templates: time 0.009765/0.05519, allocations: 4.203 MB / 0.58 GB, free: 5.906 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.785742883104831]