Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 111.3 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002035/0.002035, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.727/2.727, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 63.89 kB / 1.107 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9561/0.9581, allocations: 168.7 MB / 1.272 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.0024/0.9605, allocations: 1.312 MB / 1.273 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005384/0.9611, allocations: 301.3 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.9611, allocations: 0 / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.9611, allocations: 1.453 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.9612, allocations: 17.88 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.9615, allocations: 78.53 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.139e-05/0.9616, allocations: 43.03 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.9617, allocations: 2.609 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.9618, allocations: 28 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.291e-05/0.9618, allocations: 18.48 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.9619, allocations: 4.688 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.962, allocations: 79.62 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.962, allocations: 9.844 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.9621, allocations: 9.922 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.9622, allocations: 75.83 kB / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.9623, allocations: 1.312 kB / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9623, allocations: 0 / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.9623, allocations: 0 / 1.273 GB, free: 6.465 MB / 0.9981 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.0003352/0.9626, allocations: 361 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.9626, allocations: 9.438 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.595e-05/0.9627, allocations: 32.2 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.9627, allocations: 14.56 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.322e-05/0.9628, allocations: 162.3 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.9628, allocations: 1.406 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.9628, allocations: 4.75 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.492e-05/0.9629, allocations: 39.22 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.9629, allocations: 4 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.9629, allocations: 0.7188 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.9629, allocations: 0.7812 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.105e-05/0.963, allocations: 14.97 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.9631, allocations: 162 kB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.465e-05/0.9632, allocations: 25.64 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/0.9632, allocations: 17.89 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007876/0.964, allocations: 1.184 MB / 1.275 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.964, allocations: 34.02 kB / 1.275 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.964, allocations: 0 / 1.275 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.000143/0.9641, allocations: 54.41 kB / 1.275 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/0.9642, allocations: 56.38 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.853e-05/0.9642, allocations: 107.3 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.9642, allocations: 26.23 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.434e-05/0.9642, allocations: 84.98 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.9643, allocations: 6.016 kB / 1.276 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.9643, allocations: 20.81 kB / 1.276 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.236e-05/0.9643, allocations: 315.9 kB / 1.276 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.9643, allocations: 6.969 kB / 1.276 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.215e-05/0.9644, allocations: 3.906 kB / 1.276 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.856e-05/0.9644, allocations: 21.55 kB / 1.276 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.9644, allocations: 0 / 1.276 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.413e-05/0.9645, allocations: 53.7 kB / 1.276 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.9645, allocations: 7.844 kB / 1.276 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.9645, allocations: 1.031 kB / 1.276 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.9645, allocations: 0 / 1.276 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.9e-05/0.9645, allocations: 5.234 kB / 1.276 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.9645, allocations: 0.7812 kB / 1.276 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.86e-05/0.9646, allocations: 13.95 kB / 1.276 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.9646, allocations: 1.594 kB / 1.276 GB, free: 3.453 MB / 0.9981 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 4.06e-05/0.9646, allocations: 106.9 kB / 1.276 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.9646, allocations: 8.172 kB / 1.276 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.9647, allocations: 66.39 kB / 1.276 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.9647, allocations: 0 / 1.276 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.9647, allocations: 4.875 kB / 1.276 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.9647, allocations: 0 / 1.276 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.033e-05/0.9648, allocations: 166.7 kB / 1.277 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.9648, allocations: 3.938 kB / 1.277 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.9648, allocations: 5.031 kB / 1.277 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.9648, allocations: 0 / 1.277 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.9649, allocations: 0.9375 kB / 1.277 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9649, allocations: 1.094 kB / 1.277 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9649, allocations: 4 kB / 1.277 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.875e-05/0.9649, allocations: 83.45 kB / 1.277 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.965, allocations: 85.41 kB / 1.277 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.965, allocations: 2.297 kB / 1.277 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.513e-05/0.965, allocations: 1.188 kB / 1.277 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.965, allocations: 1.562 kB / 1.277 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.965, allocations: 1.781 kB / 1.277 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.903e-05/0.9651, allocations: 88.03 kB / 1.277 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9651, allocations: 0 / 1.277 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002156/0.9653, allocations: 30.28 kB / 1.277 GB, free: 2.801 MB / 0.9981 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.0004221/0.9657, allocations: 0.6326 MB / 1.277 GB, free: 18.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.969e-05/0.9658, allocations: 19.36 kB / 1.277 GB, free: 18.19 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9658, allocations: 0.9062 kB / 1.277 GB, free: 18.19 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.677e-05/0.9658, allocations: 6.578 kB / 1.277 GB, free: 18.19 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.966, allocations: 3.531 kB / 1.277 GB, free: 18.19 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.9664, allocations: 180.6 kB / 1.278 GB, free: 18.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.9667, allocations: 0.6822 MB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.742e-05/0.9667, allocations: 13.11 kB / 1.278 GB, free: 17.31 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/0.9668, allocations: 8.781 kB / 1.278 GB, free: 17.3 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.9668, allocations: 1.219 kB / 1.278 GB, free: 17.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02369/0.9904, allocations: 1.609 MB / 1.28 GB, free: 16.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/8.483, allocations: 8.234 kB / 1.28 GB, free: 16.92 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.350119609007379] Failed to read output from testmodel.py, exit status != 0: 8.549276376987109 8.567971506 7.601823141 Calling exit ...