Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.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.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",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.0006802/0.0006803, allocations: 92.55 kB / 15.7 MB, free: 472 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.000732/0.000732, allocations: 175.2 kB / 16.58 MB, free: 6.844 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.166/1.166, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5928/0.5928, allocations: 113.7 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003162, allocations: 8 kB / 493.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1231, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0005482/0.1237, allocations: 295.1 kB / 0.5572 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005117/0.1242, allocations: 309.3 kB / 0.5575 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.959e-06/0.1242, allocations: 0 / 0.5575 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.889e-06/0.1243, allocations: 0 / 0.5575 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.889e-06/0.1243, allocations: 0 / 0.5575 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.1246, allocations: 79.73 kB / 0.5576 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.905e-05/0.1246, allocations: 0 / 0.5576 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.368e-05/0.1246, allocations: 3.984 kB / 0.5576 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.174e-05/0.1247, allocations: 4 kB / 0.5576 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.856e-05/0.1247, allocations: 0 / 0.5576 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.833e-06/0.1247, allocations: 0 / 0.5576 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.125, allocations: 263.7 kB / 0.5578 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.468e-06/0.125, allocations: 0 / 0.5578 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.125, allocations: 25.7 kB / 0.5578 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.854e-05/0.1251, allocations: 59.91 kB / 0.5579 GB, free: 10.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1251, allocations: 0 / 0.5579 GB, free: 10.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1252, allocations: 4 kB / 0.5579 GB, free: 10.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.825e-06/0.1252, allocations: 0 / 0.5579 GB, free: 10.63 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002071/0.1254, allocations: 323.4 kB / 0.5582 GB, free: 10.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.1254, allocations: 12.03 kB / 0.5582 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.732e-05/0.1254, allocations: 30.56 kB / 0.5583 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.1255, allocations: 0 / 0.5583 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.613e-05/0.1255, allocations: 163.1 kB / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1256, allocations: 0 / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.662e-06/0.1256, allocations: 7.938 kB / 0.5584 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.207e-05/0.1257, allocations: 37.66 kB / 0.5585 GB, free: 9.965 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-06/0.1257, allocations: 0 / 0.5585 GB, free: 9.965 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-06/0.1257, allocations: 0 / 0.5585 GB, free: 9.965 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.1257, allocations: 0 / 0.5585 GB, free: 9.965 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.472e-05/0.1257, allocations: 4 kB / 0.5585 GB, free: 9.961 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.656e-05/0.1258, allocations: 141.7 kB / 0.5586 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.279e-05/0.1258, allocations: 22.56 kB / 0.5586 GB, free: 9.742 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.346e-05/0.1259, allocations: 12.89 kB / 0.5586 GB, free: 9.727 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/0.1263, allocations: 425.4 kB / 0.559 GB, free: 9.219 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.1263, allocations: 34.56 kB / 0.5591 GB, free: 9.176 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.1263, allocations: 0 / 0.5591 GB, free: 9.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001093/0.1264, allocations: 41.66 kB / 0.5591 GB, free: 9.129 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.1264, allocations: 51.41 kB / 0.5592 GB, free: 9.066 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.998e-05/0.1265, allocations: 89.86 kB / 0.5592 GB, free: 8.969 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.1265, allocations: 29.64 kB / 0.5593 GB, free: 8.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.066e-05/0.1265, allocations: 80.14 kB / 0.5593 GB, free: 8.852 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.1265, allocations: 4 kB / 0.5593 GB, free: 8.848 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-06/0.1265, allocations: 0 / 0.5593 GB, free: 8.848 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.011e-05/0.1266, allocations: 314.8 kB / 0.5596 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-06/0.1266, allocations: 8.062 kB / 0.5597 GB, free: 8.523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.888e-06/0.1266, allocations: 0 / 0.5597 GB, free: 8.523 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.465e-05/0.1267, allocations: 8 kB / 0.5597 GB, free: 8.516 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1267, allocations: 0 / 0.5597 GB, free: 8.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.326e-05/0.1267, allocations: 29.7 kB / 0.5597 GB, free: 8.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.1267, allocations: 4 kB / 0.5597 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1268, allocations: 4 kB / 0.5597 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1268, allocations: 0 / 0.5597 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.08e-05/0.1268, allocations: 3.953 kB / 0.5597 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1268, allocations: 8.078 kB / 0.5597 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-06/0.1268, allocations: 3.906 kB / 0.5597 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.1268, allocations: 7.984 kB / 0.5597 GB, free: 8.449 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 (1): * Single equations (assignments): 1 * 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 5.026e-05/0.1269, allocations: 106.5 kB / 0.5598 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.1269, allocations: 0 / 0.5598 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.085e-05/0.127, allocations: 44.77 kB / 0.5599 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.127, allocations: 0 / 0.5599 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.127, allocations: 11.94 kB / 0.5599 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.127, allocations: 4.031 kB / 0.5599 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.083e-05/0.1271, allocations: 146 kB / 0.56 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1271, allocations: 0 / 0.56 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.1271, allocations: 0 / 0.56 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1271, allocations: 4 kB / 0.56 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-06/0.1271, allocations: 0 / 0.56 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1271, allocations: 0 / 0.56 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1271, allocations: 0 / 0.56 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.716e-05/0.1272, allocations: 76.95 kB / 0.5601 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.1272, allocations: 77.11 kB / 0.5602 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.902e-06/0.1273, allocations: 0 / 0.5602 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.971e-06/0.1273, allocations: 0 / 0.5602 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.025e-05/0.1273, allocations: 0 / 0.5602 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.1273, allocations: 0 / 0.5602 GB, free: 7.883 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.275e-05/0.1273, allocations: 75.28 kB / 0.5602 GB, free: 7.809 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1273, allocations: 0 / 0.5602 GB, free: 7.809 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001748/0.1275, allocations: 27.88 kB / 0.5603 GB, free: 7.781 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 (1): * Single equations (assignments): 1 * 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.0003354/0.1278, allocations: 0.6015 MB / 0.5609 GB, free: 7.148 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.289e-05/0.1279, allocations: 11.88 kB / 0.5609 GB, free: 7.137 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1279, allocations: 0 / 0.5609 GB, free: 7.137 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.949e-06/0.1279, allocations: 0 / 0.5609 GB, free: 7.137 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/0.128, allocations: 13.88 kB / 0.5609 GB, free: 7.125 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/0.1283, allocations: 110.3 kB / 0.561 GB, free: 6.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.1284, allocations: 0.6692 MB / 0.5616 GB, free: 6.285 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.441e-05/0.1285, allocations: 0 / 0.5616 GB, free: 6.285 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.221e-05/0.1285, allocations: 7.438 kB / 0.5616 GB, free: 6.277 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1285, allocations: 0 / 0.5616 GB, free: 6.277 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009156/0.1376, allocations: 0.999 MB / 0.5626 GB, free: 5.43 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/0.1378, allocations: 187.8 kB / 0.5628 GB, free: 5.195 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.398/1.535, allocations: 0 / 0.5628 GB, free: 5.195 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: