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.001165/0.001165, allocations: 107.4 kB / 16.45 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.001253/0.001253, allocations: 215.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.949 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.00234/0.00234, allocations: 278.1 kB / 309.1 MB, free: 3.953 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.138/1.138, allocations: 180.9 MB / 0.5333 GB, free: 13.84 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.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.002663/0.002663, allocations: 106.6 kB / 0.7342 GB, free: 28.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1539, allocations: 95.34 MB / 0.8274 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002282/0.1562, allocations: 1.285 MB / 0.8286 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000278/0.1565, allocations: 123.9 kB / 0.8287 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.356e-05/0.1565, allocations: 0 / 0.8287 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.269e-05/0.1565, allocations: 0 / 0.8287 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.816e-05/0.1566, allocations: 7.922 kB / 0.8287 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.1567, allocations: 39.89 kB / 0.8288 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.202e-05/0.1568, allocations: 15.92 kB / 0.8288 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.737e-05/0.1568, allocations: 4 kB / 0.8288 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.852e-05/0.1569, allocations: 7.938 kB / 0.8288 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.429e-05/0.1569, allocations: 7.984 kB / 0.8288 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.1569, allocations: 0 / 0.8288 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.157, allocations: 51.94 kB / 0.8289 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.756e-06/0.157, allocations: 0 / 0.8289 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.1571, allocations: 7.938 kB / 0.8289 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.961e-05/0.1572, allocations: 36.16 kB / 0.8289 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1572, allocations: 4 kB / 0.8289 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1572, allocations: 0 / 0.8289 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.1572, allocations: 0 / 0.8289 GB, free: 8.293 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.0003984/0.1576, allocations: 339.3 kB / 0.8292 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.1576, allocations: 11.97 kB / 0.8292 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.6e-05/0.1577, allocations: 34.69 kB / 0.8293 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.294e-05/0.1577, allocations: 4.938 kB / 0.8293 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.1578, allocations: 168.3 kB / 0.8294 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.1578, allocations: 384 / 0.8294 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.088e-06/0.1578, allocations: 12.12 kB / 0.8294 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.629e-05/0.1579, allocations: 33.69 kB / 0.8295 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1579, allocations: 0 / 0.8295 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-06/0.1579, allocations: 0 / 0.8295 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-06/0.1579, allocations: 4 kB / 0.8295 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.316e-05/0.1579, allocations: 0 / 0.8295 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.1581, allocations: 153.7 kB / 0.8296 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.228e-05/0.1582, allocations: 30.55 kB / 0.8297 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.876e-05/0.1582, allocations: 16.8 kB / 0.8297 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006958/0.1589, allocations: 0.6052 MB / 0.8303 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.1589, allocations: 30.56 kB / 0.8303 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1589, allocations: 0 / 0.8303 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001269/0.159, allocations: 45.64 kB / 0.8303 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.1591, allocations: 51.41 kB / 0.8304 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.225e-05/0.1591, allocations: 102 kB / 0.8305 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1592, allocations: 29.7 kB / 0.8305 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.1592, allocations: 80.14 kB / 0.8306 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.1592, allocations: 3.953 kB / 0.8306 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.1592, allocations: 13.72 kB / 0.8306 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1594, allocations: 314.8 kB / 0.8309 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.325e-05/0.1594, allocations: 4 kB / 0.8309 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.328e-06/0.1594, allocations: 3.984 kB / 0.8309 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.731e-05/0.1594, allocations: 12.92 kB / 0.8309 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1594, allocations: 4 kB / 0.8309 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.48e-05/0.1595, allocations: 45.58 kB / 0.831 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.1595, allocations: 4 kB / 0.831 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1595, allocations: 0 / 0.831 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1595, allocations: 0 / 0.831 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.62e-05/0.1596, allocations: 7.984 kB / 0.831 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1596, allocations: 3.938 kB / 0.831 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.1596, allocations: 4.031 kB / 0.831 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1596, allocations: 4 kB / 0.831 GB, free: 5.785 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.877e-05/0.1597, allocations: 108.7 kB / 0.8311 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-06/0.1597, allocations: 3.938 kB / 0.8311 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.076e-05/0.1598, allocations: 56.77 kB / 0.8312 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1598, allocations: 4 kB / 0.8312 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.1598, allocations: 0 / 0.8312 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1598, allocations: 7.875 kB / 0.8312 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.1599, allocations: 153.6 kB / 0.8313 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1599, allocations: 4.031 kB / 0.8313 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.1599, allocations: 0 / 0.8313 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1599, allocations: 4 kB / 0.8313 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.1599, allocations: 0 / 0.8313 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1599, allocations: 0 / 0.8313 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1599, allocations: 0 / 0.8313 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.267e-05/0.16, allocations: 65.25 kB / 0.8314 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.1601, allocations: 85.09 kB / 0.8315 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-06/0.1601, allocations: 4.031 kB / 0.8315 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.755e-05/0.1601, allocations: 0 / 0.8315 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.1601, allocations: 4 kB / 0.8315 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.1601, allocations: 0 / 0.8315 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.333e-05/0.1602, allocations: 83.27 kB / 0.8316 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1602, allocations: 0 / 0.8316 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001839/0.1604, allocations: 15.94 kB / 0.8316 GB, free: 5.102 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.0004926/0.1608, allocations: 0.6162 MB / 0.8322 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.542e-05/0.1609, allocations: 12 kB / 0.8322 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1609, allocations: 0 / 0.8322 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.581e-05/0.1609, allocations: 11.92 kB / 0.8322 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.1611, allocations: 4 kB / 0.8322 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009445/0.1621, allocations: 1.091 MB / 0.8333 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.1624, allocations: 0.6768 MB / 0.8339 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.202e-05/0.1624, allocations: 3.938 kB / 0.8339 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.1625, allocations: 11.44 kB / 0.8339 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1625, allocations: 0 / 0.8339 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.185, allocations: 1.459 MB / 0.8354 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.341/7.526, allocations: 6.953 kB / 0.8354 GB, free: 1.215 MB / 0.5762 GB " [Timeout remaining time 652] (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: 11.323100538924336] Failed to read output from testmodel.py, exit status != 0: 7.587600922677666 7.600882642 7.441125474 Calling exit ...