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.001127/0.001127, allocations: 107.7 kB / 15.99 MB, free: 6.355 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.001126/0.001126, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.35/1.35, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7484/0.7484, allocations: 122.9 MB / 413.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.91 kB / 0.4906 GB, free: 7.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3666, allocations: 77.93 MB / 0.5667 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004973/0.3717, allocations: 2.681 MB / 0.5694 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.3738, allocations: 1.295 MB / 0.5706 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.3739, allocations: 2.719 kB / 0.5706 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007383/0.3747, allocations: 172.4 kB / 0.5708 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.3751, allocations: 158.2 kB / 0.5709 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.3755, allocations: 144.5 kB / 0.5711 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.3759, allocations: 269.2 kB / 0.5713 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000445/0.3763, allocations: 158.3 kB / 0.5715 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.3766, allocations: 112.4 kB / 0.5716 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.3769, allocations: 137.1 kB / 0.5717 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.3769, allocations: 14.25 kB / 0.5717 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003751/0.3773, allocations: 145.8 kB / 0.5719 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.3774, allocations: 71.56 kB / 0.5719 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.3776, allocations: 91.58 kB / 0.572 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.3781, allocations: 306.8 kB / 0.5723 GB, free: 29.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3781, allocations: 0 / 0.5723 GB, free: 29.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3781, allocations: 0.5 kB / 0.5723 GB, free: 29.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.3781, allocations: 1.906 kB / 0.5723 GB, free: 29.2 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.001026/0.3792, allocations: 0.4945 MB / 0.5728 GB, free: 28.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3792, allocations: 10.91 kB / 0.5728 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005353/0.3797, allocations: 67.11 kB / 0.5729 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.38, allocations: 234.4 kB / 0.5731 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.38, allocations: 16.23 kB / 0.5731 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.3801, allocations: 9.344 kB / 0.5731 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005719/0.3807, allocations: 314.1 kB / 0.5734 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3807, allocations: 1.156 kB / 0.5734 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.3807, allocations: 2.188 kB / 0.5734 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-05/0.3808, allocations: 27.98 kB / 0.5735 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005349/0.3813, allocations: 264.2 kB / 0.5737 GB, free: 28.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.3828, allocations: 1.502 MB / 0.5752 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005311/0.3833, allocations: 254.2 kB / 0.5754 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.3836, allocations: 130.9 kB / 0.5755 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.3836, allocations: 2.281 kB / 0.5755 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3837, allocations: 37.48 kB / 0.5756 GB, free: 26.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.3837, allocations: 1.5 kB / 0.5756 GB, free: 26.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008106/0.3845, allocations: 341.8 kB / 0.5759 GB, free: 26.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.3845, allocations: 81.08 kB / 0.576 GB, free: 26.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.3847, allocations: 179.6 kB / 0.5762 GB, free: 26.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.3847, allocations: 32.28 kB / 0.5762 GB, free: 26.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.3848, allocations: 138 kB / 0.5763 GB, free: 26.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.3849, allocations: 58.86 kB / 0.5764 GB, free: 26.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-05/0.3849, allocations: 48.41 kB / 0.5764 GB, free: 26.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.586e-05/0.385, allocations: 333.4 kB / 0.5767 GB, free: 25.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.3852, allocations: 103.5 kB / 0.5768 GB, free: 25.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.3855, allocations: 171.5 kB / 0.577 GB, free: 25.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004369/0.3859, allocations: 274.8 kB / 0.5773 GB, free: 25.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3859, allocations: 3.906 kB / 0.5773 GB, free: 25.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005542/0.3865, allocations: 305.8 kB / 0.5776 GB, free: 25.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3865, allocations: 5.766 kB / 0.5776 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.3866, allocations: 2.594 kB / 0.5776 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.3866, allocations: 3.094 kB / 0.5776 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.3869, allocations: 66.34 kB / 0.5776 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3869, allocations: 4.125 kB / 0.5776 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.3871, allocations: 36.23 kB / 0.5777 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.3871, allocations: 8.078 kB / 0.5777 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002518/0.3874, allocations: 196.1 kB / 0.5779 GB, free: 25.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002036/0.3876, allocations: 158.2 kB / 0.578 GB, free: 25.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003653/0.388, allocations: 248.4 kB / 0.5783 GB, free: 25.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.388, allocations: 3.938 kB / 0.5783 GB, free: 25.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000485/0.3885, allocations: 281.7 kB / 0.5785 GB, free: 24.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.3885, allocations: 5.5 kB / 0.5785 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.3885, allocations: 2.75 kB / 0.5785 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.929e-06/0.3885, allocations: 3.453 kB / 0.5785 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.3887, allocations: 47.16 kB / 0.5786 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3888, allocations: 7.531 kB / 0.5786 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.3889, allocations: 29.94 kB / 0.5786 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.389, allocations: 11.66 kB / 0.5786 GB, free: 24.89 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.729e-05/0.3891, allocations: 194 kB / 0.5788 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.3891, allocations: 20.62 kB / 0.5788 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000535/0.3897, allocations: 266.2 kB / 0.5791 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.3897, allocations: 5.375 kB / 0.5791 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3897, allocations: 2.125 kB / 0.5791 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3897, allocations: 0.7969 kB / 0.5791 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.3907, allocations: 0.6845 MB / 0.5798 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.3908, allocations: 2.969 kB / 0.5798 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.391, allocations: 42.28 kB / 0.5798 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.391, allocations: 8.125 kB / 0.5798 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.391, allocations: 9.625 kB / 0.5798 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.3911, allocations: 3.562 kB / 0.5798 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.3911, allocations: 1.938 kB / 0.5798 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005283/0.3916, allocations: 455 kB / 0.5803 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.222e-05/0.3917, allocations: 112.3 kB / 0.5804 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.3917, allocations: 13.48 kB / 0.5804 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.392, allocations: 16.31 kB / 0.5804 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/0.392, allocations: 15.25 kB / 0.5804 GB, free: 23.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.3921, allocations: 6.141 kB / 0.5804 GB, free: 23.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.3922, allocations: 134.5 kB / 0.5805 GB, free: 23.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3922, allocations: 0 / 0.5805 GB, free: 23.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005329/0.3927, allocations: 86.28 kB / 0.5806 GB, free: 23.56 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 0.0001383/0.3929, allocations: 107.2 kB / 0.5807 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008775/0.3938, allocations: 386.5 kB / 0.5811 GB, free: 23.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3938, allocations: 1.062 kB / 0.5811 GB, free: 23.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.394, allocations: 123 kB / 0.5812 GB, free: 23.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.3945, allocations: 44.38 kB / 0.5813 GB, free: 23.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008249/0.3954, allocations: 0.4942 MB / 0.5817 GB, free: 22.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.3956, allocations: 0.7471 MB / 0.5825 GB, free: 22.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002249/0.3959, allocations: 79.62 kB / 0.5825 GB, free: 22.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.786e-05/0.3959, allocations: 16.53 kB / 0.5826 GB, free: 22.18 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3959, allocations: 0 / 0.5826 GB, free: 22.18 MB / 446.1 MB Notification: Performance of Templates: time 0.00544/0.4014, allocations: 2.25 MB / 0.5848 GB, free: 21.07 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)