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.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.0009194/0.0009194, allocations: 92.22 kB / 19.65 MB, free: 276 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.000941/0.000941, allocations: 173 kB / 23.03 MB, free: 1.543 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.8618/0.8618, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.001539/0.001539, allocations: 233.9 kB / 260.2 MB, free: 12.81 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 0.7071/0.7071, allocations: 138.4 MB / 455.2 MB, free: 1.48 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.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.5551 GB, free: 472 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.289e-05/3.56e-05, allocations: 5.406 kB / 0.5551 GB, free: 468 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004185/0.00422, allocations: 2.218 MB / 0.5573 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.006186, allocations: 0.9192 MB / 0.5582 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.006351, allocations: 7.938 kB / 0.5582 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006446/0.006996, allocations: 79.53 kB / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004279/0.007424, allocations: 127.3 kB / 0.5584 GB, free: 13.09 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.007899, allocations: 159.5 kB / 0.5585 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004627/0.008361, allocations: 275.1 kB / 0.5588 GB, free: 12.66 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/0.008731, allocations: 113.6 kB / 0.5589 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003761/0.009107, allocations: 151.6 kB / 0.5591 GB, free: 12.4 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/0.009487, allocations: 119.7 kB / 0.5592 GB, free: 12.29 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.009531, allocations: 16 kB / 0.5592 GB, free: 12.27 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.00976, allocations: 83.73 kB / 0.5593 GB, free: 12.19 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.00987, allocations: 71.81 kB / 0.5593 GB, free: 12.12 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.009978, allocations: 63.83 kB / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004761/0.01045, allocations: 203.4 kB / 0.5596 GB, free: 11.86 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.01046, allocations: 0 / 0.5596 GB, free: 11.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.01046, allocations: 4 kB / 0.5596 GB, free: 11.85 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.01047, allocations: 0 / 0.5596 GB, free: 11.85 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008769/0.01135, allocations: 0.5115 MB / 0.5601 GB, free: 11.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.0114, allocations: 12.75 kB / 0.5601 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006095/0.01201, allocations: 96.64 kB / 0.5602 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.01234, allocations: 188.3 kB / 0.5604 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.01237, allocations: 16.64 kB / 0.5604 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.0124, allocations: 12.38 kB / 0.5604 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008517/0.01325, allocations: 285 kB / 0.5607 GB, free: 10.63 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.01327, allocations: 192 / 0.5607 GB, free: 10.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.0133, allocations: 8.375 kB / 0.5607 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.697e-05/0.01337, allocations: 28.19 kB / 0.5607 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.01367, allocations: 104.6 kB / 0.5608 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.01508, allocations: 1.33 MB / 0.5621 GB, free: 9.098 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.01533, allocations: 161.5 kB / 0.5623 GB, free: 8.918 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.954e-05/0.0154, allocations: 47.36 kB / 0.5623 GB, free: 8.863 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.01542, allocations: 4 kB / 0.5623 GB, free: 8.859 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.01545, allocations: 45.39 kB / 0.5624 GB, free: 8.805 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 3.707e-06/0.01545, allocations: 4 kB / 0.5624 GB, free: 8.801 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002885/0.01574, allocations: 133.5 kB / 0.5625 GB, free: 8.664 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.01578, allocations: 81.11 kB / 0.5626 GB, free: 8.566 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.0159, allocations: 221.9 kB / 0.5628 GB, free: 8.332 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.01592, allocations: 25.7 kB / 0.5628 GB, free: 8.301 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.662e-05/0.01601, allocations: 202.8 kB / 0.563 GB, free: 8.094 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.01604, allocations: 47.59 kB / 0.563 GB, free: 8.047 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.969e-05/0.01611, allocations: 51.34 kB / 0.5631 GB, free: 7.988 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.01624, allocations: 0.5001 MB / 0.5636 GB, free: 7.477 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.629e-05/0.01631, allocations: 39.67 kB / 0.5636 GB, free: 7.434 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.01643, allocations: 164.1 kB / 0.5638 GB, free: 7.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.01659, allocations: 165.5 kB / 0.5639 GB, free: 7.035 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01659, allocations: 0 / 0.5639 GB, free: 7.035 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002087/0.0168, allocations: 196.9 kB / 0.5641 GB, free: 6.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.01682, allocations: 8 kB / 0.5641 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01682, allocations: 3.984 kB / 0.5641 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.01684, allocations: 4 kB / 0.5641 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.017, allocations: 51.89 kB / 0.5642 GB, free: 6.773 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.01701, allocations: 4 kB / 0.5642 GB, free: 6.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.01711, allocations: 35.81 kB / 0.5642 GB, free: 6.734 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.01712, allocations: 8 kB / 0.5642 GB, free: 6.727 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.145e-05/0.01721, allocations: 166.8 kB / 0.5644 GB, free: 6.559 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.717e-05/0.01731, allocations: 159.6 kB / 0.5645 GB, free: 6.355 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000127/0.01744, allocations: 165.1 kB / 0.5647 GB, free: 6.156 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.51e-07/0.01744, allocations: 0 / 0.5647 GB, free: 6.156 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002405/0.01768, allocations: 177.4 kB / 0.5649 GB, free: 5.977 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.224e-06/0.01768, allocations: 6.656 kB / 0.5649 GB, free: 5.973 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.01769, allocations: 4 kB / 0.5649 GB, free: 5.969 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-06/0.01769, allocations: 0 / 0.5649 GB, free: 5.969 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.01782, allocations: 47.91 kB / 0.5649 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.01783, allocations: 4 kB / 0.5649 GB, free: 5.918 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.01794, allocations: 31.88 kB / 0.565 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.01796, allocations: 11.94 kB / 0.565 GB, free: 5.875 MB / 490.7 MB 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.0001624/0.01812, allocations: 288.2 kB / 0.5652 GB, free: 5.586 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.01818, allocations: 19.84 kB / 0.5653 GB, free: 5.566 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.01848, allocations: 142.6 kB / 0.5654 GB, free: 5.426 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.01849, allocations: 7.984 kB / 0.5654 GB, free: 5.418 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.01849, allocations: 0 / 0.5654 GB, free: 5.418 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.0185, allocations: 0 / 0.5654 GB, free: 5.418 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006883/0.01919, allocations: 475.9 kB / 0.5659 GB, free: 4.895 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01919, allocations: 3.938 kB / 0.5659 GB, free: 4.891 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.01935, allocations: 40.09 kB / 0.5659 GB, free: 4.852 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.01935, allocations: 7.984 kB / 0.5659 GB, free: 4.844 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.01937, allocations: 8 kB / 0.5659 GB, free: 4.836 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.01937, allocations: 0 / 0.5659 GB, free: 4.836 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.01938, allocations: 4 kB / 0.5659 GB, free: 4.832 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.01973, allocations: 437.5 kB / 0.5663 GB, free: 4.367 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.01981, allocations: 31.89 kB / 0.5664 GB, free: 4.336 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.01984, allocations: 4 kB / 0.5664 GB, free: 4.332 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.02001, allocations: 19.97 kB / 0.5664 GB, free: 4.312 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/0.02007, allocations: 15.86 kB / 0.5664 GB, free: 4.297 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.02008, allocations: 8 kB / 0.5664 GB, free: 4.289 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.02019, allocations: 172.2 kB / 0.5666 GB, free: 4.121 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02019, allocations: 0 / 0.5666 GB, free: 4.121 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005037/0.02069, allocations: 91.78 kB / 0.5667 GB, free: 4.031 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (16): * Single equations (assignments): 16 * 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.0001171/0.02081, allocations: 95.25 kB / 0.5668 GB, free: 3.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004034/0.02121, allocations: 197.5 kB / 0.5669 GB, free: 3.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.02121, allocations: 4.312 kB / 0.567 GB, free: 3.727 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.571e-05/0.02129, allocations: 55.59 kB / 0.567 GB, free: 3.668 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.02161, allocations: 38.97 kB / 0.567 GB, free: 3.633 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006931/0.0223, allocations: 397.5 kB / 0.5674 GB, free: 3.191 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.439e-05/0.02236, allocations: 92.62 kB / 0.5675 GB, free: 3.082 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.02247, allocations: 57.41 kB / 0.5676 GB, free: 3.027 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.02253, allocations: 24.48 kB / 0.5676 GB, free: 3.004 MB / 490.7 MB Notification: Performance of SimCode: time 1.172e-06/0.02253, allocations: 0 / 0.5676 GB, free: 3.004 MB / 490.7 MB Notification: Performance of Templates: time 0.004041/0.02657, allocations: 2.461 MB / 0.57 GB, free: 0.5859 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.565706280991435]