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.001864/0.001864, allocations: 92.7 kB / 19.44 MB, free: 324 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.002449/0.002449, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.522/1.522, allocations: 177.2 MB / 203.1 MB, free: 5.586 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.002678/0.002678, allocations: 239.9 kB / 259.8 MB, free: 12.83 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.09/1.09, allocations: 138.4 MB / 454.7 MB, free: 1.453 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 1.553e-06/1.553e-06, allocations: 0 / 0.5543 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.831e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004792/0.004821, allocations: 2.612 MB / 0.5569 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.007502, allocations: 1.282 MB / 0.5581 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.007629, allocations: 4 kB / 0.5581 GB, free: 12.92 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007734/0.008402, allocations: 179.2 kB / 0.5583 GB, free: 12.75 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005067/0.008909, allocations: 175 kB / 0.5585 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.00936, allocations: 167.5 kB / 0.5586 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.009818, allocations: 275 kB / 0.5589 GB, free: 12.14 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003026/0.01012, allocations: 113.6 kB / 0.559 GB, free: 12.03 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000325/0.01045, allocations: 143.6 kB / 0.5591 GB, free: 11.89 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.01074, allocations: 123.6 kB / 0.5593 GB, free: 11.77 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.926e-05/0.01078, allocations: 20 kB / 0.5593 GB, free: 11.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.01108, allocations: 139.6 kB / 0.5594 GB, free: 11.61 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.0112, allocations: 67.81 kB / 0.5595 GB, free: 11.55 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.0113, allocations: 55.84 kB / 0.5595 GB, free: 11.49 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005179/0.01182, allocations: 311 kB / 0.5598 GB, free: 11.19 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01182, allocations: 0 / 0.5598 GB, free: 11.19 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01182, allocations: 0 / 0.5598 GB, free: 11.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.01183, allocations: 0 / 0.5598 GB, free: 11.19 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.0009057/0.01273, allocations: 429.5 kB / 0.5602 GB, free: 10.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.01277, allocations: 8.75 kB / 0.5602 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006146/0.01339, allocations: 100.7 kB / 0.5603 GB, free: 10.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.01374, allocations: 198.3 kB / 0.5605 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.01376, allocations: 8.656 kB / 0.5605 GB, free: 10.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.0138, allocations: 20.31 kB / 0.5606 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006316/0.01443, allocations: 348.5 kB / 0.5609 GB, free: 10 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.01444, allocations: 4.125 kB / 0.5609 GB, free: 10 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.01447, allocations: 8.375 kB / 0.5609 GB, free: 9.992 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.688e-05/0.01452, allocations: 36.19 kB / 0.5609 GB, free: 9.957 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005884/0.01511, allocations: 252.6 kB / 0.5612 GB, free: 9.711 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.0168, allocations: 1.08 MB / 0.5622 GB, free: 8.578 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005729/0.01737, allocations: 264.6 kB / 0.5625 GB, free: 8.305 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.01765, allocations: 117.6 kB / 0.5626 GB, free: 8.184 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.01767, allocations: 4 kB / 0.5626 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.0177, allocations: 38.5 kB / 0.5626 GB, free: 8.133 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.01771, allocations: 0 / 0.5626 GB, free: 8.133 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008907/0.0186, allocations: 337.4 kB / 0.563 GB, free: 7.797 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.01866, allocations: 89.17 kB / 0.563 GB, free: 7.691 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.01887, allocations: 175.1 kB / 0.5632 GB, free: 7.508 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.0189, allocations: 33.7 kB / 0.5632 GB, free: 7.469 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.01902, allocations: 140.2 kB / 0.5634 GB, free: 7.324 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.113e-05/0.01908, allocations: 59.48 kB / 0.5634 GB, free: 7.266 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.712e-05/0.01918, allocations: 45.69 kB / 0.5635 GB, free: 7.215 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.01936, allocations: 326.8 kB / 0.5638 GB, free: 6.887 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.01962, allocations: 108.8 kB / 0.5639 GB, free: 6.777 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.01993, allocations: 194.4 kB / 0.5641 GB, free: 6.555 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006311/0.02057, allocations: 282.7 kB / 0.5643 GB, free: 6.254 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.02057, allocations: 4 kB / 0.5643 GB, free: 6.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006698/0.02124, allocations: 321.1 kB / 0.5647 GB, free: 5.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.02126, allocations: 8 kB / 0.5647 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.02126, allocations: 0 / 0.5647 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.02128, allocations: 4 kB / 0.5647 GB, free: 5.918 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.0216, allocations: 59.89 kB / 0.5647 GB, free: 5.859 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.02161, allocations: 0 / 0.5647 GB, free: 5.859 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.02182, allocations: 32.08 kB / 0.5648 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.02184, allocations: 12 kB / 0.5648 GB, free: 5.816 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003063/0.02215, allocations: 192 kB / 0.5649 GB, free: 5.625 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002922/0.02244, allocations: 181.5 kB / 0.5651 GB, free: 5.414 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004678/0.02291, allocations: 254.9 kB / 0.5654 GB, free: 5.141 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.02291, allocations: 0 / 0.5654 GB, free: 5.141 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006125/0.02352, allocations: 293.3 kB / 0.5656 GB, free: 4.848 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.02353, allocations: 8.031 kB / 0.5657 GB, free: 4.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.02354, allocations: 4 kB / 0.5657 GB, free: 4.836 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.932e-06/0.02355, allocations: 4 kB / 0.5657 GB, free: 4.832 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.02378, allocations: 51.89 kB / 0.5657 GB, free: 4.781 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.02379, allocations: 4 kB / 0.5657 GB, free: 4.777 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.02398, allocations: 27.88 kB / 0.5657 GB, free: 4.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.024, allocations: 8 kB / 0.5657 GB, free: 4.742 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.0001486/0.02415, allocations: 192.2 kB / 0.5659 GB, free: 4.547 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.771e-05/0.02422, allocations: 23.84 kB / 0.566 GB, free: 4.523 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006178/0.02484, allocations: 270.9 kB / 0.5662 GB, free: 4.254 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.02484, allocations: 0 / 0.5662 GB, free: 4.254 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.02485, allocations: 0 / 0.5662 GB, free: 4.254 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.02486, allocations: 3.984 kB / 0.5662 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.02599, allocations: 0.5948 MB / 0.5668 GB, free: 3.605 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.02599, allocations: 4.125 kB / 0.5668 GB, free: 3.602 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.02624, allocations: 47.89 kB / 0.5668 GB, free: 3.555 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/0.02626, allocations: 3.984 kB / 0.5668 GB, free: 3.551 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.02628, allocations: 8 kB / 0.5669 GB, free: 3.543 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.02629, allocations: 4 kB / 0.5669 GB, free: 3.539 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.02629, allocations: 0 / 0.5669 GB, free: 3.539 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000668/0.02696, allocations: 458 kB / 0.5673 GB, free: 3.062 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.467e-05/0.02705, allocations: 31.83 kB / 0.5673 GB, free: 3.031 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.02708, allocations: 16 kB / 0.5673 GB, free: 3.016 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.02733, allocations: 19.97 kB / 0.5674 GB, free: 2.996 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.02739, allocations: 15.92 kB / 0.5674 GB, free: 2.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.02741, allocations: 7.938 kB / 0.5674 GB, free: 2.973 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001354/0.02754, allocations: 135.5 kB / 0.5675 GB, free: 2.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02754, allocations: 0 / 0.5675 GB, free: 2.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005068/0.02805, allocations: 83.89 kB / 0.5676 GB, free: 2.758 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.0001435/0.02819, allocations: 99.19 kB / 0.5677 GB, free: 2.652 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008217/0.02901, allocations: 362.9 kB / 0.568 GB, free: 2.301 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02902, allocations: 0 / 0.568 GB, free: 2.301 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.02927, allocations: 108.9 kB / 0.5681 GB, free: 2.195 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.02979, allocations: 48.05 kB / 0.5682 GB, free: 2.148 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008798/0.03067, allocations: 433.7 kB / 0.5686 GB, free: 1.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.03084, allocations: 135.9 kB / 0.5687 GB, free: 1.527 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002209/0.03106, allocations: 77.39 kB / 0.5688 GB, free: 1.453 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.8e-05/0.03115, allocations: 28.48 kB / 0.5688 GB, free: 1.426 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.03115, allocations: 0 / 0.5688 GB, free: 1.426 MB / 490.7 MB Notification: Performance of Templates: time 0.006465/0.03762, allocations: 2.348 MB / 0.5711 GB, free: 15.12 MB / 0.4948 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.650803519994952]