Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 96.73 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 176 kB / 16.57 MB, free: 6.387 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.934/1.934, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.009/1.009, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006891/0.0006898, allocations: 13.66 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3564, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.003526/0.36, allocations: 1.142 MB / 0.5578 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004345/0.3606, allocations: 84.64 kB / 0.5579 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.3606, allocations: 0 / 0.5579 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.3607, allocations: 4 kB / 0.5579 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.961e-05/0.3608, allocations: 3.984 kB / 0.5579 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.3611, allocations: 19.86 kB / 0.5579 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.3612, allocations: 15.97 kB / 0.558 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.3614, allocations: 4 kB / 0.558 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.159e-05/0.3615, allocations: 8 kB / 0.558 GB, free: 10.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.927e-05/0.3616, allocations: 15.92 kB / 0.558 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.3616, allocations: 0 / 0.558 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.3617, allocations: 11.98 kB / 0.558 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.589e-05/0.3618, allocations: 4 kB / 0.558 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.235e-05/0.3618, allocations: 29.7 kB / 0.558 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.362, allocations: 23.88 kB / 0.5581 GB, free: 10.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.362, allocations: 4 kB / 0.5581 GB, free: 10.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.362, allocations: 0 / 0.5581 GB, free: 10.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.362, allocations: 0 / 0.5581 GB, free: 10.33 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007713/0.3628, allocations: 347.5 kB / 0.5584 GB, free: 9.941 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001122/0.363, allocations: 8.031 kB / 0.5584 GB, free: 9.934 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.903e-05/0.3631, allocations: 30.56 kB / 0.5584 GB, free: 9.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003193/0.3634, allocations: 15.98 kB / 0.5584 GB, free: 9.879 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.3637, allocations: 163.1 kB / 0.5586 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.327e-05/0.3638, allocations: 7.938 kB / 0.5586 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.3638, allocations: 4 kB / 0.5586 GB, free: 9.668 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.3641, allocations: 65.61 kB / 0.5587 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3642, allocations: 0 / 0.5587 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.3642, allocations: 4 kB / 0.5587 GB, free: 9.594 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.3642, allocations: 0 / 0.5587 GB, free: 9.594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.3646, allocations: 67.89 kB / 0.5587 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000705/0.3653, allocations: 261 kB / 0.559 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.3656, allocations: 66.5 kB / 0.559 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.3657, allocations: 0 / 0.559 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.3657, allocations: 30.56 kB / 0.5591 GB, free: 9.109 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.843e-06/0.3657, allocations: 7.938 kB / 0.5591 GB, free: 9.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007984/0.3666, allocations: 137.6 kB / 0.5592 GB, free: 8.961 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.3666, allocations: 51.41 kB / 0.5593 GB, free: 8.898 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.3667, allocations: 105.8 kB / 0.5594 GB, free: 8.785 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.3668, allocations: 25.7 kB / 0.5594 GB, free: 8.754 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.3669, allocations: 80.14 kB / 0.5595 GB, free: 8.672 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.3669, allocations: 19.83 kB / 0.5595 GB, free: 8.652 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.3669, allocations: 0 / 0.5595 GB, free: 8.652 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.3671, allocations: 314.9 kB / 0.5598 GB, free: 8.336 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.3673, allocations: 31.97 kB / 0.5598 GB, free: 8.305 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.3675, allocations: 27.98 kB / 0.5598 GB, free: 8.277 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.3677, allocations: 36.03 kB / 0.5599 GB, free: 8.242 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3677, allocations: 0 / 0.5599 GB, free: 8.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004148/0.3682, allocations: 97.55 kB / 0.56 GB, free: 8.141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.3682, allocations: 4 kB / 0.56 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3682, allocations: 0 / 0.56 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3682, allocations: 0 / 0.56 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.3684, allocations: 19.98 kB / 0.56 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3684, allocations: 0 / 0.56 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.3686, allocations: 16.27 kB / 0.56 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.3686, allocations: 8 kB / 0.56 GB, free: 8.094 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.3687, allocations: 105.8 kB / 0.5601 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.3688, allocations: 11.84 kB / 0.5601 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.146e-05/0.3689, allocations: 11.53 kB / 0.5601 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3689, allocations: 0 / 0.5601 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3689, allocations: 0 / 0.5601 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3689, allocations: 0 / 0.5601 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.3693, allocations: 165.7 kB / 0.5603 GB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3693, allocations: 0 / 0.5603 GB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.3694, allocations: 11.98 kB / 0.5603 GB, free: 7.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.3694, allocations: 4 kB / 0.5603 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.3695, allocations: 7.891 kB / 0.5603 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3695, allocations: 0 / 0.5603 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3695, allocations: 0 / 0.5603 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000519/0.37, allocations: 195.4 kB / 0.5605 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.051e-05/0.3701, allocations: 77.11 kB / 0.5606 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.3701, allocations: 7.938 kB / 0.5606 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.3703, allocations: 19.97 kB / 0.5606 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.3704, allocations: 0 / 0.5606 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.3704, allocations: 0 / 0.5606 GB, free: 7.395 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.988e-05/0.3705, allocations: 87.27 kB / 0.5607 GB, free: 7.309 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3705, allocations: 0 / 0.5607 GB, free: 7.309 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004178/0.3709, allocations: 8 kB / 0.5607 GB, free: 7.301 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001246/0.3722, allocations: 0.7247 MB / 0.5614 GB, free: 6.551 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000493/0.3727, allocations: 59.95 kB / 0.5615 GB, free: 6.492 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/0.3727, allocations: 4.062 kB / 0.5615 GB, free: 6.488 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.373, allocations: 35.97 kB / 0.5615 GB, free: 6.453 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.3735, allocations: 6.969 kB / 0.5615 GB, free: 6.449 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.3746, allocations: 166.3 kB / 0.5617 GB, free: 6.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.3758, allocations: 0.677 MB / 0.5623 GB, free: 5.547 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.003e-05/0.3759, allocations: 7.984 kB / 0.5623 GB, free: 5.539 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.961e-05/0.376, allocations: 7.438 kB / 0.5623 GB, free: 5.531 MB / 430.1 MB Notification: Performance of SimCode: time 8.51e-07/0.376, allocations: 0 / 0.5623 GB, free: 5.531 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.406, allocations: 1.174 MB / 0.5635 GB, free: 4.48 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007124/0.4068, allocations: 170.8 kB / 0.5637 GB, free: 4.246 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/3.26, allocations: 0 / 0.5637 GB, free: 4.246 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: