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.001175/0.001175, allocations: 99.23 kB / 15.98 MB, free: 6.348 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.001136/0.001136, allocations: 196.9 kB / 16.91 MB, free: 6.188 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.322/1.322, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7422/0.7422, allocations: 115.3 MB / 406.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 64.05 kB / 493.2 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3737, allocations: 76.17 MB / 0.556 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002329/0.376, allocations: 1.499 MB / 0.5575 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000224/0.3763, allocations: 91.03 kB / 0.5576 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.3763, allocations: 0 / 0.5576 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.3764, allocations: 0 / 0.5576 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.289e-05/0.3764, allocations: 6.219 kB / 0.5576 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.3766, allocations: 11.91 kB / 0.5576 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.169e-05/0.3767, allocations: 30.75 kB / 0.5576 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.397e-05/0.3768, allocations: 5.734 kB / 0.5576 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.864e-05/0.3768, allocations: 12.44 kB / 0.5576 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.603e-05/0.3769, allocations: 14.59 kB / 0.5576 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.3769, allocations: 2.625 kB / 0.5576 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.355e-05/0.3769, allocations: 18.84 kB / 0.5577 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.377, allocations: 1.062 kB / 0.5577 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.377, allocations: 18.66 kB / 0.5577 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.927e-05/0.3771, allocations: 29.78 kB / 0.5577 GB, free: 35.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.3771, allocations: 1.125 kB / 0.5577 GB, free: 35.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3771, allocations: 0 / 0.5577 GB, free: 35.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3771, allocations: 0 / 0.5577 GB, free: 35.04 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003447/0.3774, allocations: 349.4 kB / 0.558 GB, free: 34.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3775, allocations: 11.5 kB / 0.5581 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.36e-05/0.3775, allocations: 30.75 kB / 0.5581 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.3777, allocations: 12.73 kB / 0.5581 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.242e-05/0.3778, allocations: 181 kB / 0.5583 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.3778, allocations: 1.906 kB / 0.5583 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.3778, allocations: 5.844 kB / 0.5583 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.378, allocations: 57.61 kB / 0.5583 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.378, allocations: 3.938 kB / 0.5583 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.378, allocations: 5.312 kB / 0.5583 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.378, allocations: 0.9375 kB / 0.5583 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.3782, allocations: 49.77 kB / 0.5584 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.3785, allocations: 257.7 kB / 0.5586 GB, free: 34.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.3787, allocations: 56.91 kB / 0.5587 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.742e-05/0.3788, allocations: 34.67 kB / 0.5587 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.3788, allocations: 0 / 0.5587 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.3789, allocations: 36.06 kB / 0.5588 GB, free: 34.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.3789, allocations: 1.625 kB / 0.5588 GB, free: 34.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003819/0.3793, allocations: 95.66 kB / 0.5589 GB, free: 33.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.3793, allocations: 59.31 kB / 0.5589 GB, free: 33.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.688e-05/0.3793, allocations: 103.8 kB / 0.559 GB, free: 33.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.3794, allocations: 29.7 kB / 0.559 GB, free: 33.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.607e-05/0.3794, allocations: 83.55 kB / 0.5591 GB, free: 33.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.3794, allocations: 5.688 kB / 0.5591 GB, free: 33.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.3794, allocations: 17.38 kB / 0.5591 GB, free: 33.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.528e-05/0.3795, allocations: 313.1 kB / 0.5594 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3796, allocations: 24.58 kB / 0.5595 GB, free: 33.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.804e-05/0.3797, allocations: 25.03 kB / 0.5595 GB, free: 33.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.3799, allocations: 54.2 kB / 0.5595 GB, free: 33.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3799, allocations: 4.906 kB / 0.5595 GB, free: 33.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002089/0.3801, allocations: 77.88 kB / 0.5596 GB, free: 33.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3801, allocations: 7.625 kB / 0.5596 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3801, allocations: 0 / 0.5596 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3802, allocations: 256 / 0.5596 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3803, allocations: 13.45 kB / 0.5596 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3803, allocations: 4 kB / 0.5596 GB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.079e-05/0.3803, allocations: 17.56 kB / 0.5597 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.3804, allocations: 5.125 kB / 0.5597 GB, free: 33.27 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/0.3804, allocations: 111.8 kB / 0.5598 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.3804, allocations: 4.281 kB / 0.5598 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.3805, allocations: 7.844 kB / 0.5598 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3805, allocations: 1.312 kB / 0.5598 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3805, allocations: 0 / 0.5598 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3805, allocations: 3.812 kB / 0.5598 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.3806, allocations: 168.3 kB / 0.5599 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.3806, allocations: 3.938 kB / 0.5599 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.492e-05/0.3807, allocations: 10.97 kB / 0.56 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3807, allocations: 2.5 kB / 0.56 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.3807, allocations: 0 / 0.56 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3807, allocations: 1.219 kB / 0.56 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3807, allocations: 0 / 0.56 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.381, allocations: 185.9 kB / 0.5601 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.381, allocations: 82.98 kB / 0.5602 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.381, allocations: 1.5 kB / 0.5602 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.022e-05/0.3811, allocations: 9.969 kB / 0.5602 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.3811, allocations: 2.031 kB / 0.5602 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.3812, allocations: 1.094 kB / 0.5602 GB, free: 32.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.356e-05/0.3812, allocations: 85.73 kB / 0.5603 GB, free: 32.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3812, allocations: 1.125 kB / 0.5603 GB, free: 32.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.3814, allocations: 5.438 kB / 0.5603 GB, free: 32.62 MB / 446.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 (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.0003816/0.3818, allocations: 0.711 MB / 0.561 GB, free: 31.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.3821, allocations: 51.39 kB / 0.5611 GB, free: 31.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3821, allocations: 0.9375 kB / 0.5611 GB, free: 31.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.3822, allocations: 26.55 kB / 0.5611 GB, free: 31.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.3825, allocations: 7.953 kB / 0.5611 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.3829, allocations: 151.8 kB / 0.5612 GB, free: 31.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.383, allocations: 0.6766 MB / 0.5619 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.267e-05/0.383, allocations: 1.688 kB / 0.5619 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.3831, allocations: 18.62 kB / 0.5619 GB, free: 31.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3831, allocations: 1.344 kB / 0.5619 GB, free: 31.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2174/0.6005, allocations: 1.303 MB / 0.5632 GB, free: 30.86 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/0.6008, allocations: 188.6 kB / 0.5634 GB, free: 30.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.288, allocations: 3.609 kB / 0.5634 GB, free: 30.61 MB / 446.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/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)