Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001352/0.001352, allocations: 110.7 kB / 17.04 MB, free: 5.809 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.001609/0.001609, allocations: 196 kB / 17.98 MB, free: 5.031 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.333/1.333, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7265/0.7265, allocations: 115.1 MB / 406.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.89 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3525, allocations: 76.14 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003598/0.3561, allocations: 2.628 MB / 0.5601 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.3579, allocations: 1.321 MB / 0.5614 GB, free: 34.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.358, allocations: 3.688 kB / 0.5614 GB, free: 34.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006017/0.3587, allocations: 182.6 kB / 0.5616 GB, free: 33.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.359, allocations: 162.4 kB / 0.5618 GB, free: 33.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.3593, allocations: 162.5 kB / 0.5619 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.3596, allocations: 262.7 kB / 0.5622 GB, free: 33.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002857/0.3599, allocations: 139.8 kB / 0.5623 GB, free: 33.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.3601, allocations: 102.1 kB / 0.5624 GB, free: 33.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.3603, allocations: 124.1 kB / 0.5625 GB, free: 33.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.3604, allocations: 13.81 kB / 0.5625 GB, free: 33.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.3606, allocations: 153.2 kB / 0.5627 GB, free: 33.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.763e-05/0.3607, allocations: 67.27 kB / 0.5627 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.3608, allocations: 92.53 kB / 0.5628 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.3611, allocations: 290.6 kB / 0.5631 GB, free: 33.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3611, allocations: 0 / 0.5631 GB, free: 33.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3612, allocations: 0 / 0.5631 GB, free: 33.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3612, allocations: 2.188 kB / 0.5631 GB, free: 33.3 MB / 446.1 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.0006556/0.3618, allocations: 499.6 kB / 0.5636 GB, free: 32.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.3619, allocations: 9.328 kB / 0.5636 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004933/0.3624, allocations: 76.39 kB / 0.5637 GB, free: 32.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.3626, allocations: 248.3 kB / 0.5639 GB, free: 32.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3627, allocations: 9.375 kB / 0.5639 GB, free: 32.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.3627, allocations: 14.22 kB / 0.5639 GB, free: 32.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.3632, allocations: 322.5 kB / 0.5642 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3632, allocations: 1.469 kB / 0.5642 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.3632, allocations: 10.61 kB / 0.5642 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/0.3633, allocations: 23.75 kB / 0.5643 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/0.3638, allocations: 262.8 kB / 0.5645 GB, free: 32.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.3651, allocations: 1.49 MB / 0.566 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.3656, allocations: 259.5 kB / 0.5662 GB, free: 30.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.3658, allocations: 125.8 kB / 0.5663 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.3659, allocations: 5.359 kB / 0.5663 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.3659, allocations: 40.62 kB / 0.5664 GB, free: 30.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.814e-06/0.3659, allocations: 1.25 kB / 0.5664 GB, free: 30.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007269/0.3666, allocations: 350.7 kB / 0.5667 GB, free: 30.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.3667, allocations: 79.88 kB / 0.5668 GB, free: 30.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.3669, allocations: 173 kB / 0.567 GB, free: 30.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.3669, allocations: 31.89 kB / 0.567 GB, free: 30.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.347e-05/0.367, allocations: 140.7 kB / 0.5671 GB, free: 30.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/0.367, allocations: 54.27 kB / 0.5672 GB, free: 30.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-05/0.3671, allocations: 45.22 kB / 0.5672 GB, free: 30.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.003e-05/0.3672, allocations: 332 kB / 0.5675 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.3675, allocations: 112.6 kB / 0.5676 GB, free: 29.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.3678, allocations: 161.7 kB / 0.5678 GB, free: 29.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/0.3683, allocations: 283.3 kB / 0.5681 GB, free: 29.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.3683, allocations: 1.906 kB / 0.5681 GB, free: 29.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006199/0.369, allocations: 304.1 kB / 0.5684 GB, free: 29.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.369, allocations: 6.594 kB / 0.5684 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.369, allocations: 2.062 kB / 0.5684 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.369, allocations: 3.875 kB / 0.5684 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.3694, allocations: 57.23 kB / 0.5684 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3694, allocations: 2.5 kB / 0.5684 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.3696, allocations: 39.25 kB / 0.5685 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.3696, allocations: 7.438 kB / 0.5685 GB, free: 29.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002575/0.3699, allocations: 196.3 kB / 0.5687 GB, free: 29.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002247/0.3701, allocations: 159.2 kB / 0.5688 GB, free: 29.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003649/0.3705, allocations: 256.5 kB / 0.5691 GB, free: 29.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.3705, allocations: 5.062 kB / 0.5691 GB, free: 29.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004713/0.371, allocations: 275 kB / 0.5693 GB, free: 28.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.371, allocations: 6.5 kB / 0.5693 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.371, allocations: 3.344 kB / 0.5693 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/0.371, allocations: 4.969 kB / 0.5693 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.3713, allocations: 53.97 kB / 0.5694 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.3713, allocations: 2.797 kB / 0.5694 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.3714, allocations: 29.95 kB / 0.5694 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.3715, allocations: 6.688 kB / 0.5694 GB, free: 28.98 MB / 446.1 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 8.195e-05/0.3716, allocations: 202 kB / 0.5696 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.3716, allocations: 18.06 kB / 0.5696 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005216/0.3722, allocations: 267.3 kB / 0.5699 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.3722, allocations: 2.625 kB / 0.5699 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3722, allocations: 4.781 kB / 0.5699 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3722, allocations: 2.547 kB / 0.5699 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009739/0.3732, allocations: 0.6817 MB / 0.5706 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3732, allocations: 1.344 kB / 0.5706 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.3734, allocations: 47.38 kB / 0.5706 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3734, allocations: 2.562 kB / 0.5706 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.3735, allocations: 11.72 kB / 0.5706 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3735, allocations: 2.125 kB / 0.5706 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3735, allocations: 3.219 kB / 0.5706 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.3739, allocations: 450.4 kB / 0.5711 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.3741, allocations: 108.9 kB / 0.5712 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.3741, allocations: 13.77 kB / 0.5712 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.3743, allocations: 16.42 kB / 0.5712 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.3744, allocations: 19.59 kB / 0.5712 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.3744, allocations: 5.281 kB / 0.5712 GB, free: 27.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.315e-05/0.3745, allocations: 131.1 kB / 0.5713 GB, free: 27.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3745, allocations: 0 / 0.5713 GB, free: 27.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004941/0.375, allocations: 80.88 kB / 0.5714 GB, free: 27.66 MB / 446.1 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 9.454e-05/0.3751, allocations: 106.1 kB / 0.5715 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007203/0.3758, allocations: 381.5 kB / 0.5719 GB, free: 27.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3759, allocations: 3.031 kB / 0.5719 GB, free: 27.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.3761, allocations: 111.2 kB / 0.572 GB, free: 27.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.3766, allocations: 46.81 kB / 0.572 GB, free: 27.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007084/0.3773, allocations: 443.6 kB / 0.5725 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.3775, allocations: 0.7462 MB / 0.5732 GB, free: 26.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001976/0.3777, allocations: 78.81 kB / 0.5733 GB, free: 26.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.358e-05/0.3778, allocations: 17.64 kB / 0.5733 GB, free: 26.42 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3778, allocations: 0 / 0.5733 GB, free: 26.42 MB / 446.1 MB Notification: Performance of Templates: time 0.005433/0.3832, allocations: 2.301 MB / 0.5755 GB, free: 26.28 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)