Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 107.5 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 188.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002206/0.002206, allocations: 290.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9787/0.9787, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 95.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4396/0.4415, allocations: 86.99 MB / 0.7671 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003997/0.4455, allocations: 2.627 MB / 0.7696 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.4475, allocations: 1.313 MB / 0.7709 GB, free: 128 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.633e-05/0.4476, allocations: 7.938 kB / 0.7709 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006391/0.4483, allocations: 175.3 kB / 0.7711 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.4487, allocations: 167.2 kB / 0.7712 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.449, allocations: 167.6 kB / 0.7714 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.4493, allocations: 255.2 kB / 0.7716 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.4496, allocations: 147.8 kB / 0.7718 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.4498, allocations: 107.7 kB / 0.7719 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.45, allocations: 127.5 kB / 0.772 GB, free: 15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.4501, allocations: 16 kB / 0.772 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.4503, allocations: 143.7 kB / 0.7722 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.521e-05/0.4504, allocations: 63.81 kB / 0.7722 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.4505, allocations: 95.52 kB / 0.7723 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.4509, allocations: 289.7 kB / 0.7726 GB, free: 14.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4509, allocations: 7.938 kB / 0.7726 GB, free: 14.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4509, allocations: 0 / 0.7726 GB, free: 14.4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.4509, allocations: 0 / 0.7726 GB, free: 14.4 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007225/0.4516, allocations: 498.9 kB / 0.7731 GB, free: 13.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.4517, allocations: 8.031 kB / 0.7731 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004979/0.4522, allocations: 68.66 kB / 0.7732 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.4525, allocations: 244.5 kB / 0.7734 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.4525, allocations: 12.66 kB / 0.7734 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.4525, allocations: 16.36 kB / 0.7734 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.453, allocations: 309.5 kB / 0.7737 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.4531, allocations: 7.938 kB / 0.7737 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.4531, allocations: 8 kB / 0.7737 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.36e-05/0.4531, allocations: 28.27 kB / 0.7737 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004911/0.4536, allocations: 264.5 kB / 0.774 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.4552, allocations: 1.494 MB / 0.7755 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/0.4557, allocations: 257 kB / 0.7757 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.4559, allocations: 133.6 kB / 0.7758 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.4559, allocations: 0 / 0.7758 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.456, allocations: 38.56 kB / 0.7759 GB, free: 10.76 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.456, allocations: 0 / 0.7759 GB, free: 10.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0007422/0.4567, allocations: 344.3 kB / 0.7762 GB, free: 10.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.4568, allocations: 81.11 kB / 0.7763 GB, free: 10.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.4569, allocations: 179.9 kB / 0.7764 GB, free: 10.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.457, allocations: 29.64 kB / 0.7765 GB, free: 10.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.4571, allocations: 148.2 kB / 0.7766 GB, free: 9.945 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.4571, allocations: 51.2 kB / 0.7767 GB, free: 9.895 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.468e-05/0.4572, allocations: 45.7 kB / 0.7767 GB, free: 9.844 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4573, allocations: 326.8 kB / 0.777 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.4575, allocations: 108.8 kB / 0.7771 GB, free: 9.406 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.4578, allocations: 170.4 kB / 0.7773 GB, free: 9.215 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/0.4582, allocations: 270.7 kB / 0.7775 GB, free: 8.926 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4582, allocations: 0 / 0.7775 GB, free: 8.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000559/0.4588, allocations: 320.3 kB / 0.7779 GB, free: 8.609 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.4588, allocations: 4 kB / 0.7779 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4588, allocations: 4 kB / 0.7779 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4589, allocations: 0 / 0.7779 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.4591, allocations: 55.89 kB / 0.7779 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.4592, allocations: 7.984 kB / 0.7779 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.4594, allocations: 27.83 kB / 0.7779 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.4594, allocations: 15.98 kB / 0.778 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002499/0.4597, allocations: 196.1 kB / 0.7781 GB, free: 8.301 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002235/0.4599, allocations: 160.3 kB / 0.7783 GB, free: 8.113 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003888/0.4603, allocations: 247.5 kB / 0.7785 GB, free: 7.844 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.4603, allocations: 8 kB / 0.7785 GB, free: 7.836 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004888/0.4608, allocations: 269.1 kB / 0.7788 GB, free: 7.566 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.4608, allocations: 8 kB / 0.7788 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-06/0.4608, allocations: 0 / 0.7788 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.177e-06/0.4608, allocations: 4 kB / 0.7788 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.461, allocations: 60.08 kB / 0.7789 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4611, allocations: 4 kB / 0.7789 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.4612, allocations: 27.88 kB / 0.7789 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.4613, allocations: 12 kB / 0.7789 GB, free: 7.453 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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 prepare postOptimizeDAE: time 0.0001055/0.4614, allocations: 196.1 kB / 0.7791 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.4614, allocations: 15.81 kB / 0.7791 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005297/0.462, allocations: 270 kB / 0.7794 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.462, allocations: 0 / 0.7794 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.462, allocations: 4 kB / 0.7794 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.4621, allocations: 108.8 kB / 0.7795 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.4622, allocations: 7.938 kB / 0.7795 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.4624, allocations: 31.89 kB / 0.7795 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.4625, allocations: 11.98 kB / 0.7795 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006535/0.4631, allocations: 427.9 kB / 0.7799 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005215/0.4637, allocations: 497.7 kB / 0.7804 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001939/0.4639, allocations: 111.1 kB / 0.7805 GB, free: 5.754 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.949e-05/0.464, allocations: 135.8 kB / 0.7806 GB, free: 5.621 MB / 0.545 GB Notification: Performance of Backend: time 4.01e-07/0.464, allocations: 0 / 0.7806 GB, free: 5.621 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.465, allocations: 442.5 kB / 0.7811 GB, free: 5.184 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007724/0.4658, allocations: 0.7936 MB / 0.7818 GB, free: 4.34 MB / 0.545 GB Notification: Performance of Templates: time 0.007182/0.473, allocations: 4.023 MB / 0.7858 GB, free: 352 kB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)