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.001727/0.001727, allocations: 110.5 kB / 17.12 MB, free: 6.008 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.002114/0.002114, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.548/1.548, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9921/0.9921, allocations: 150 MB / 459.5 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="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"}) [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.001962/0.001962, allocations: 77.02 kB / 0.6361 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1651, allocations: 89.13 MB / 0.7232 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002707/0.1678, allocations: 1.452 MB / 0.7246 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002606/0.168, allocations: 96.16 kB / 0.7247 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.1681, allocations: 0 / 0.7247 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.1681, allocations: 0 / 0.7247 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.018e-05/0.1681, allocations: 7.922 kB / 0.7247 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.1683, allocations: 23.91 kB / 0.7247 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.678e-05/0.1684, allocations: 27.92 kB / 0.7247 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.353e-05/0.1685, allocations: 0 / 0.7247 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.555e-05/0.1685, allocations: 11.94 kB / 0.7247 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.668e-05/0.1685, allocations: 11.92 kB / 0.7248 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.1686, allocations: 4 kB / 0.7248 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.243e-05/0.1686, allocations: 19.98 kB / 0.7248 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.1686, allocations: 4 kB / 0.7248 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.1687, allocations: 19.92 kB / 0.7248 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.1688, allocations: 36.11 kB / 0.7248 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1688, allocations: 3.938 kB / 0.7248 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1688, allocations: 0 / 0.7248 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1688, allocations: 0 / 0.7248 GB, free: 2.34 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.0004994/0.1693, allocations: 343.4 kB / 0.7252 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1693, allocations: 8.031 kB / 0.7252 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.756e-05/0.1694, allocations: 38.73 kB / 0.7252 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.1695, allocations: 16.88 kB / 0.7252 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.1697, allocations: 164.4 kB / 0.7254 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.1697, allocations: 4.375 kB / 0.7254 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.1697, allocations: 384 / 0.7254 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.1699, allocations: 62.16 kB / 0.7255 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1699, allocations: 3.938 kB / 0.7255 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1699, allocations: 4 kB / 0.7255 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.17, allocations: 4 kB / 0.7255 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.1702, allocations: 47.94 kB / 0.7255 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.1706, allocations: 265 kB / 0.7258 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.1708, allocations: 58.48 kB / 0.7258 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.1709, allocations: 32.77 kB / 0.7258 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.1709, allocations: 0 / 0.7258 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.1709, allocations: 30.56 kB / 0.7259 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.1709, allocations: 0 / 0.7259 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004172/0.1714, allocations: 109.6 kB / 0.726 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.1714, allocations: 51.41 kB / 0.726 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.696e-05/0.1715, allocations: 105.8 kB / 0.7261 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1715, allocations: 25.7 kB / 0.7262 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.1716, allocations: 84.14 kB / 0.7262 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.1716, allocations: 13.78 kB / 0.7262 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.1716, allocations: 9.719 kB / 0.7263 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1718, allocations: 327 kB / 0.7266 GB, free: 348 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.1719, allocations: 23.92 kB / 0.7266 GB, free: 324 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.581e-05/0.172, allocations: 19.97 kB / 0.7266 GB, free: 304 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.1722, allocations: 52.81 kB / 0.7267 GB, free: 248 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.1722, allocations: 8 kB / 0.7267 GB, free: 240 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002425/0.1724, allocations: 73.66 kB / 0.7267 GB, free: 160 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1725, allocations: 11.98 kB / 0.7268 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1725, allocations: 0 / 0.7268 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1725, allocations: 0 / 0.7268 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1726, allocations: 11.98 kB / 0.7268 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.1726, allocations: 0 / 0.7268 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.1726, allocations: 11.97 kB / 0.7268 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.1726, allocations: 0 / 0.7268 GB, free: 124 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 0.0001094/0.1728, allocations: 121.8 kB / 0.7269 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.1728, allocations: 7.891 kB / 0.7269 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.1728, allocations: 3.531 kB / 0.7269 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1728, allocations: 4 kB / 0.7269 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1728, allocations: 0 / 0.7269 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1728, allocations: 0 / 0.7269 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.173, allocations: 165.6 kB / 0.7271 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.173, allocations: 8 kB / 0.7271 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.78e-05/0.1731, allocations: 7.984 kB / 0.7271 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1731, allocations: 0 / 0.7271 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1731, allocations: 4.25 kB / 0.7271 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.1731, allocations: 7.938 kB / 0.7271 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1731, allocations: 0 / 0.7271 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.1734, allocations: 179.4 kB / 0.7273 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.1735, allocations: 77.11 kB / 0.7273 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.1735, allocations: 3.938 kB / 0.7273 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/0.1736, allocations: 7.984 kB / 0.7273 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.1736, allocations: 8 kB / 0.7274 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.1736, allocations: 0 / 0.7274 GB, free: 15.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.803e-05/0.1736, allocations: 83.27 kB / 0.7274 GB, free: 15.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1736, allocations: 0 / 0.7274 GB, free: 15.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000216/0.1739, allocations: 8.031 kB / 0.7274 GB, free: 15.34 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.0006484/0.1745, allocations: 0.7085 MB / 0.7281 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002861/0.1748, allocations: 55.92 kB / 0.7282 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1748, allocations: 4 kB / 0.7282 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.1749, allocations: 23.97 kB / 0.7282 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.1752, allocations: 4 kB / 0.7282 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.1757, allocations: 159.1 kB / 0.7284 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.176, allocations: 0.6768 MB / 0.729 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.577e-05/0.176, allocations: 0 / 0.729 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.1761, allocations: 11.44 kB / 0.729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.1761, allocations: 0 / 0.729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.2008, allocations: 1.465 MB / 0.7305 GB, free: 12.24 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.228, allocations: 6.203 kB / 0.7305 GB, free: 12.24 MB / 0.545 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.27330739912577] Failed to read output from testmodel.py, exit status != 0: 8.29560802783817 8.31864102 8.145645362 Calling exit ...