Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.001225/0.001225, allocations: 108.7 kB / 16.46 MB, free: 6.453 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.001288/0.001288, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.337/1.337, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002319/0.002319, allocations: 284.5 kB / 309.1 MB, free: 3.984 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.124/1.124, allocations: 180.9 MB / 0.5333 GB, free: 13.82 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002671/0.002671, allocations: 105.5 kB / 0.7342 GB, free: 28.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1514, allocations: 95.34 MB / 0.8274 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002187/0.1536, allocations: 1.321 MB / 0.8286 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005147/0.1541, allocations: 299.3 kB / 0.8289 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.753e-05/0.1541, allocations: 4 kB / 0.8289 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.1542, allocations: 0 / 0.8289 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.338e-05/0.1542, allocations: 19.84 kB / 0.829 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.1545, allocations: 75.78 kB / 0.829 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.557e-05/0.1546, allocations: 35.84 kB / 0.8291 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.1546, allocations: 7.984 kB / 0.8291 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.852e-05/0.1547, allocations: 35.84 kB / 0.8291 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.1548, allocations: 11.94 kB / 0.8291 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.1548, allocations: 4 kB / 0.8291 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1549, allocations: 75.91 kB / 0.8292 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.1549, allocations: 11.94 kB / 0.8292 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.155, allocations: 11.92 kB / 0.8292 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.1551, allocations: 80 kB / 0.8293 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1551, allocations: 0 / 0.8293 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1551, allocations: 4 kB / 0.8293 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.1551, allocations: 0 / 0.8293 GB, free: 7.906 MB / 0.5762 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.0003874/0.1555, allocations: 351.2 kB / 0.8296 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.1555, allocations: 8.031 kB / 0.8296 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.1556, allocations: 30.75 kB / 0.8297 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.1556, allocations: 8.891 kB / 0.8297 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.1557, allocations: 164.4 kB / 0.8298 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1557, allocations: 4.375 kB / 0.8298 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.1557, allocations: 4.125 kB / 0.8298 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.86e-05/0.1558, allocations: 37.7 kB / 0.8299 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1558, allocations: 0 / 0.8299 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1558, allocations: 7.938 kB / 0.8299 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1558, allocations: 3.984 kB / 0.8299 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.592e-05/0.1559, allocations: 4 kB / 0.8299 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.1561, allocations: 169.6 kB / 0.8301 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.301e-05/0.1561, allocations: 30.67 kB / 0.8301 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.376e-05/0.1562, allocations: 16.8 kB / 0.8301 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/0.1573, allocations: 1.183 MB / 0.8313 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.1574, allocations: 30.56 kB / 0.8313 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1574, allocations: 4 kB / 0.8313 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0001488/0.1575, allocations: 61.52 kB / 0.8313 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.1575, allocations: 55.34 kB / 0.8314 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.269e-05/0.1576, allocations: 105.8 kB / 0.8315 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.1576, allocations: 29.7 kB / 0.8315 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.1577, allocations: 84.14 kB / 0.8316 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.1577, allocations: 3.953 kB / 0.8316 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.1577, allocations: 17.67 kB / 0.8316 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1579, allocations: 322.8 kB / 0.8319 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.1579, allocations: 4 kB / 0.8319 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.186e-05/0.1579, allocations: 4 kB / 0.8319 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.86e-05/0.1579, allocations: 20.8 kB / 0.832 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1579, allocations: 0 / 0.832 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.939e-05/0.158, allocations: 49.62 kB / 0.832 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.158, allocations: 4 kB / 0.832 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.158, allocations: 0 / 0.832 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.158, allocations: 336 / 0.832 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.962e-05/0.1581, allocations: 11.98 kB / 0.832 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1581, allocations: 4 kB / 0.832 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.1581, allocations: 0 / 0.832 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.1581, allocations: 0 / 0.832 GB, free: 4.613 MB / 0.5762 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 (3): * Single equations (assignments): 3 * 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 7.038e-05/0.1582, allocations: 109.8 kB / 0.8321 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.1582, allocations: 11.92 kB / 0.8321 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.1583, allocations: 61.48 kB / 0.8322 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1583, allocations: 4 kB / 0.8322 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1583, allocations: 4 kB / 0.8322 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1583, allocations: 3.984 kB / 0.8322 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.1585, allocations: 161.6 kB / 0.8324 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1585, allocations: 0 / 0.8324 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.1585, allocations: 4 kB / 0.8324 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1585, allocations: 0 / 0.8324 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.1585, allocations: 0 / 0.8324 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1585, allocations: 0 / 0.8324 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1585, allocations: 4 kB / 0.8324 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.398e-05/0.1586, allocations: 81 kB / 0.8325 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.1587, allocations: 89.05 kB / 0.8325 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.1587, allocations: 0 / 0.8325 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.501e-05/0.1587, allocations: 3.938 kB / 0.8325 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.1587, allocations: 4 kB / 0.8325 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1587, allocations: 4 kB / 0.8325 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.309e-05/0.1588, allocations: 87.58 kB / 0.8326 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1588, allocations: 0 / 0.8326 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002008/0.159, allocations: 31.88 kB / 0.8327 GB, free: 3.855 MB / 0.5762 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 (3): * Single equations (assignments): 3 * 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.0004604/0.1594, allocations: 0.6441 MB / 0.8333 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.928e-05/0.1595, allocations: 15.98 kB / 0.8333 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1595, allocations: 0 / 0.8333 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-05/0.1595, allocations: 8 kB / 0.8333 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.1597, allocations: 4 kB / 0.8333 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.1601, allocations: 165.2 kB / 0.8335 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1604, allocations: 0.6807 MB / 0.8341 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.77e-05/0.1604, allocations: 12.22 kB / 0.8342 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.1604, allocations: 11.42 kB / 0.8342 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1604, allocations: 0 / 0.8342 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.183, allocations: 1.656 MB / 0.8358 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.679, allocations: 7.188 kB / 0.8358 GB, free: 0.7148 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.439805903006345] Failed to read output from testmodel.py, exit status != 0: 7.752051316667348 7.766178267 7.608432102 Calling exit ...