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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 122 kB / 17.84 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 199.8 kB / 20.79 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9932/0.9932, allocations: 150 MB / 460.2 MB, free: 5.297 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.22 kB / 0.6368 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1656, allocations: 89.14 MB / 0.7239 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002715/0.1683, allocations: 1.444 MB / 0.7253 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002619/0.1686, allocations: 100.1 kB / 0.7254 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/0.1686, allocations: 0 / 0.7254 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.1686, allocations: 3.938 kB / 0.7254 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.917e-05/0.1687, allocations: 0 / 0.7254 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.1688, allocations: 19.92 kB / 0.7254 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.262e-05/0.1689, allocations: 31.91 kB / 0.7254 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.533e-05/0.169, allocations: 3.938 kB / 0.7254 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.308e-05/0.169, allocations: 11.98 kB / 0.7254 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.057e-05/0.1691, allocations: 15.92 kB / 0.7254 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.1691, allocations: 4 kB / 0.7254 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.21e-05/0.1692, allocations: 11.98 kB / 0.7255 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.1692, allocations: 4 kB / 0.7255 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.1692, allocations: 15.94 kB / 0.7255 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.1693, allocations: 40.09 kB / 0.7255 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1693, allocations: 4 kB / 0.7255 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1693, allocations: 0 / 0.7255 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.1693, allocations: 0 / 0.7255 GB, free: 2.285 MB / 0.5294 GB 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.0004653/0.1698, allocations: 343.4 kB / 0.7258 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1698, allocations: 8.031 kB / 0.7259 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.07e-05/0.1698, allocations: 8.109 kB / 0.7259 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.369e-05/0.1699, allocations: 34.75 kB / 0.7259 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.17, allocations: 12.88 kB / 0.7259 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.1702, allocations: 176.4 kB / 0.7261 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.1702, allocations: 4.312 kB / 0.7261 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.1702, allocations: 384 / 0.7261 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.1704, allocations: 61.98 kB / 0.7261 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1704, allocations: 0 / 0.7261 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1704, allocations: 4 kB / 0.7261 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1704, allocations: 3.938 kB / 0.7261 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.1706, allocations: 47.94 kB / 0.7262 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.1711, allocations: 264.9 kB / 0.7264 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.1712, allocations: 50.48 kB / 0.7265 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.1714, allocations: 32.89 kB / 0.7265 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.1714, allocations: 0 / 0.7265 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1714, allocations: 34.56 kB / 0.7266 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1714, allocations: 0 / 0.7266 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004305/0.1718, allocations: 101.6 kB / 0.7267 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.1719, allocations: 59.47 kB / 0.7267 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.915e-05/0.172, allocations: 105.8 kB / 0.7268 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.172, allocations: 25.7 kB / 0.7268 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.172, allocations: 90.03 kB / 0.7269 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.172, allocations: 11.88 kB / 0.7269 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.1721, allocations: 13.72 kB / 0.7269 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.1722, allocations: 314.8 kB / 0.7272 GB, free: 296 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.1723, allocations: 27.97 kB / 0.7273 GB, free: 268 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.1724, allocations: 19.98 kB / 0.7273 GB, free: 248 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.1726, allocations: 52.75 kB / 0.7273 GB, free: 192 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1726, allocations: 0 / 0.7273 GB, free: 192 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002538/0.1729, allocations: 85.7 kB / 0.7274 GB, free: 100 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1729, allocations: 4 kB / 0.7274 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1729, allocations: 3.938 kB / 0.7274 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1729, allocations: 0 / 0.7274 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.173, allocations: 11.98 kB / 0.7274 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.173, allocations: 0 / 0.7274 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.341e-05/0.1731, allocations: 7.984 kB / 0.7275 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.1731, allocations: 4 kB / 0.7275 GB, free: 68 kB / 0.5294 GB 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 9.477e-05/0.1732, allocations: 117.8 kB / 0.7276 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.1732, allocations: 3.953 kB / 0.7276 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.1732, allocations: 7.531 kB / 0.7276 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1732, allocations: 0 / 0.7276 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1733, allocations: 3.984 kB / 0.7276 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1733, allocations: 7.922 kB / 0.7276 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.1734, allocations: 169.6 kB / 0.7278 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1734, allocations: 0 / 0.7278 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.109e-05/0.1735, allocations: 16.17 kB / 0.7278 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1735, allocations: 4 kB / 0.7278 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.1735, allocations: 4 kB / 0.7278 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1735, allocations: 0 / 0.7278 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1735, allocations: 0 / 0.7278 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.1738, allocations: 179.4 kB / 0.7279 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.1739, allocations: 81.14 kB / 0.728 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.1739, allocations: 0 / 0.728 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.634e-05/0.174, allocations: 15.98 kB / 0.728 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.174, allocations: 0 / 0.728 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.174, allocations: 0 / 0.728 GB, free: 15.37 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.011e-05/0.1741, allocations: 79.28 kB / 0.7281 GB, free: 15.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1741, allocations: 0 / 0.7281 GB, free: 15.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002184/0.1743, allocations: 12 kB / 0.7281 GB, free: 15.28 MB / 0.545 GB 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.000628/0.1749, allocations: 0.7046 MB / 0.7288 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002621/0.1752, allocations: 63.91 kB / 0.7289 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1752, allocations: 0 / 0.7289 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.1753, allocations: 27.97 kB / 0.7289 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.1755, allocations: 1.719 kB / 0.7289 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004979/0.176, allocations: 147.1 kB / 0.729 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.1763, allocations: 0.6847 MB / 0.7297 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.561e-05/0.1764, allocations: 0 / 0.7297 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.1764, allocations: 7.438 kB / 0.7297 GB, free: 13.56 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1764, allocations: 0 / 0.7297 GB, free: 13.56 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.1955, allocations: 1.511 MB / 0.7312 GB, free: 12.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.397/8.593, allocations: 10.2 kB / 0.7312 GB, free: 12.15 MB / 0.545 GB " [Timeout remaining time 651] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.436450248991605] Failed to read output from testmodel.py, exit status != 0: 8.718697857984807 8.739222657 8.566118882 Calling exit ...