Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.001654/0.001654, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002006/0.002006, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002679/0.002679, allocations: 300.8 kB / 312.7 MB, free: 2.594 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.207/1.207, allocations: 180.6 MB / 0.5369 GB, free: 14.53 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",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.002932/0.002932, allocations: 101.8 kB / 0.7395 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1536, allocations: 95.38 MB / 0.8326 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002279/0.1558, allocations: 1.279 MB / 0.8339 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002941/0.1561, allocations: 111.6 kB / 0.834 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.358e-05/0.1562, allocations: 0 / 0.834 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.317e-05/0.1562, allocations: 0 / 0.834 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.286e-05/0.1562, allocations: 3.938 kB / 0.834 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.1564, allocations: 43.84 kB / 0.834 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.935e-05/0.1565, allocations: 19.91 kB / 0.8341 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.1565, allocations: 0 / 0.8341 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.047e-05/0.1565, allocations: 7.938 kB / 0.8341 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.716e-05/0.1566, allocations: 8 kB / 0.8341 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.1566, allocations: 0 / 0.8341 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.1567, allocations: 55.88 kB / 0.8341 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.1567, allocations: 0 / 0.8341 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.1568, allocations: 7.938 kB / 0.8341 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.1569, allocations: 36.16 kB / 0.8342 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1569, allocations: 0 / 0.8342 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1569, allocations: 0 / 0.8342 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.1569, allocations: 0 / 0.8342 GB, free: 6.879 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003628/0.1572, allocations: 258.3 kB / 0.8344 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1573, allocations: 25.27 kB / 0.8344 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.1573, allocations: 30.75 kB / 0.8345 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.966e-05/0.1573, allocations: 0.9375 kB / 0.8345 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.1574, allocations: 110.5 kB / 0.8346 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1575, allocations: 384 / 0.8346 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.1575, allocations: 4.125 kB / 0.8346 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.396e-05/0.1575, allocations: 37.69 kB / 0.8346 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1575, allocations: 0 / 0.8346 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1576, allocations: 3.984 kB / 0.8346 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1576, allocations: 0 / 0.8346 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.069e-05/0.1576, allocations: 11.94 kB / 0.8346 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.1577, allocations: 120.8 kB / 0.8348 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.34e-05/0.1578, allocations: 18.61 kB / 0.8348 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.678e-05/0.1578, allocations: 20.84 kB / 0.8348 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004537/0.1583, allocations: 79.92 kB / 0.8349 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.1583, allocations: 34.56 kB / 0.8349 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1583, allocations: 0 / 0.8349 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001281/0.1584, allocations: 45.58 kB / 0.8349 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.1585, allocations: 59.52 kB / 0.835 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.951e-05/0.1585, allocations: 97.86 kB / 0.8351 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1586, allocations: 25.7 kB / 0.8351 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.1586, allocations: 80.14 kB / 0.8352 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.1586, allocations: 3.953 kB / 0.8352 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.1587, allocations: 17.72 kB / 0.8352 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1588, allocations: 314.8 kB / 0.8355 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.1588, allocations: 4 kB / 0.8355 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.243e-06/0.1588, allocations: 0 / 0.8355 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.881e-05/0.1588, allocations: 16.86 kB / 0.8355 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1588, allocations: 8 kB / 0.8355 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.371e-05/0.1589, allocations: 45.62 kB / 0.8356 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1589, allocations: 4 kB / 0.8356 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1589, allocations: 4 kB / 0.8356 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1589, allocations: 0 / 0.8356 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.113e-05/0.159, allocations: 0 / 0.8356 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.159, allocations: 4 kB / 0.8356 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.771e-05/0.159, allocations: 3.938 kB / 0.8356 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.159, allocations: 0 / 0.8356 GB, free: 5.227 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 (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 7.284e-05/0.1591, allocations: 110.5 kB / 0.8357 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.1591, allocations: 11.94 kB / 0.8357 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.907e-05/0.1592, allocations: 48.94 kB / 0.8358 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1592, allocations: 0 / 0.8358 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1592, allocations: 0 / 0.8358 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.1592, allocations: 0 / 0.8358 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.1593, allocations: 132.6 kB / 0.8359 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1593, allocations: 0 / 0.8359 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.1593, allocations: 4 kB / 0.8359 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.1593, allocations: 0 / 0.8359 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.1593, allocations: 0 / 0.8359 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1593, allocations: 4.031 kB / 0.8359 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1593, allocations: 4 kB / 0.8359 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.28e-05/0.1594, allocations: 69 kB / 0.836 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.1594, allocations: 4 kB / 0.836 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-06/0.1594, allocations: 0 / 0.836 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.603e-05/0.1594, allocations: 0 / 0.836 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-06/0.1594, allocations: 0 / 0.836 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.1594, allocations: 0 / 0.836 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.571e-05/0.1595, allocations: 83.45 kB / 0.8361 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1595, allocations: 0 / 0.8361 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001942/0.1597, allocations: 19.94 kB / 0.8361 GB, free: 4.664 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 (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.0004105/0.1601, allocations: 0.6163 MB / 0.8367 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.841e-05/0.1602, allocations: 11.92 kB / 0.8367 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1602, allocations: 4 kB / 0.8367 GB, free: 4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.129e-05/0.1602, allocations: 4 kB / 0.8367 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.1604, allocations: 5.375 kB / 0.8367 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009651/0.1613, allocations: 1.107 MB / 0.8378 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.108e-05/0.1614, allocations: 63.28 kB / 0.8378 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.416e-05/0.1614, allocations: 3.984 kB / 0.8378 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.1614, allocations: 15.38 kB / 0.8379 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/0.1614, allocations: 0 / 0.8379 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.188, allocations: 1.99 MB / 0.8398 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.05, allocations: 0 / 0.8398 GB, free: 0.8594 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw_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_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.251423511654139] Failed to read output from testmodel.py, exit status != 0: 11.153998896945268 11.177737711 11.01686171 Calling exit ...