Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.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.001132/0.001132, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009184/0.0009184, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.074/1.074, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.001665/0.001665, allocations: 241.6 kB / 259.4 MB, free: 13 MB / 250.7 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 0.8097/0.8097, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 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.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.779e-06/4.779e-06, allocations: 0 / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.112e-05/5.59e-05, allocations: 5.094 kB / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.5309/0.531, allocations: 178.6 MB / 0.8207 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.008978/0.5399, allocations: 6.91 MB / 0.8274 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.541, allocations: 47.62 kB / 0.8275 GB, free: 1.43 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.5427, allocations: 0.6716 MB / 0.8281 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005096/0.5478, allocations: 2.581 MB / 0.8306 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.5501, allocations: 1.276 MB / 0.8319 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003005/0.5531, allocations: 3.021 MB / 0.8348 GB, free: 9.852 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009211/0.554, allocations: 0.7053 MB / 0.8355 GB, free: 9.129 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.5556, allocations: 1.414 MB / 0.8369 GB, free: 7.711 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.5568, allocations: 0.9047 MB / 0.8378 GB, free: 6.809 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.557, allocations: 112 kB / 0.8379 GB, free: 6.699 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003194/0.5602, allocations: 1.783 MB / 0.8396 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003404/0.5605, allocations: 498.5 kB / 0.8401 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006429/0.5612, allocations: 479 kB / 0.8406 GB, free: 3.953 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002142/0.5633, allocations: 2.427 MB / 0.8429 GB, free: 1.52 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.5633, allocations: 0 / 0.8429 GB, free: 1.52 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5633, allocations: 3.938 kB / 0.8429 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.5633, allocations: 0 / 0.8429 GB, free: 1.516 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002692/0.566, allocations: 1.578 MB / 0.8445 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.942e-05/0.5661, allocations: 9.938 kB / 0.8445 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.5662, allocations: 135.3 kB / 0.8446 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.5676, allocations: 390.8 kB / 0.845 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.5687, allocations: 0.776 MB / 0.8457 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.5688, allocations: 69.75 kB / 0.8458 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-05/0.5689, allocations: 87.95 kB / 0.8459 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.5702, allocations: 1.246 MB / 0.8471 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.5702, allocations: 0 / 0.8471 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.885e-05/0.5702, allocations: 40.59 kB / 0.8472 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.188e-05/0.5703, allocations: 49.97 kB / 0.8472 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.5715, allocations: 0.8783 MB / 0.8481 GB, free: 12.11 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.5745, allocations: 2.855 MB / 0.8508 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007808/0.5753, allocations: 0.6568 MB / 0.8515 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000495/0.5758, allocations: 439.8 kB / 0.8519 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/0.576, allocations: 80.59 kB / 0.852 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.576, allocations: 45.25 kB / 0.852 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 1.914e-06/0.5761, allocations: 0 / 0.852 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001259/0.5773, allocations: 1.001 MB / 0.853 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.5774, allocations: 56.06 kB / 0.8531 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005363/0.5779, allocations: 0.6373 MB / 0.8537 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.578, allocations: 45.7 kB / 0.8537 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.5782, allocations: 440.8 kB / 0.8541 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.5784, allocations: 257.6 kB / 0.8544 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.5785, allocations: 114.3 kB / 0.8545 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5787, allocations: 394.7 kB / 0.8549 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.579, allocations: 269.2 kB / 0.8551 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.5793, allocations: 361.1 kB / 0.8555 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006854/0.58, allocations: 0.6629 MB / 0.8561 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.58, allocations: 0 / 0.8561 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008298/0.5808, allocations: 0.7974 MB / 0.8569 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.5809, allocations: 10.28 kB / 0.8569 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.5809, allocations: 4.188 kB / 0.8569 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.756e-05/0.5809, allocations: 8 kB / 0.8569 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.5813, allocations: 143.8 kB / 0.8571 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.5813, allocations: 7.984 kB / 0.8571 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.5816, allocations: 59.56 kB / 0.8571 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.5816, allocations: 23.34 kB / 0.8571 GB, free: 2.613 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0002592/0.5819, allocations: 285.6 kB / 0.8574 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.918e-05/0.582, allocations: 87.48 kB / 0.8575 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008642/0.5828, allocations: 0.7987 MB / 0.8583 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.5828, allocations: 11.98 kB / 0.8583 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.5828, allocations: 0 / 0.8583 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007781/0.5836, allocations: 0.8213 MB / 0.8591 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.5853, allocations: 1.672 MB / 0.8607 GB, free: 14.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5853, allocations: 7.938 kB / 0.8607 GB, free: 14.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/0.5857, allocations: 163.8 kB / 0.8609 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/0.5857, allocations: 3.938 kB / 0.8609 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-05/0.5858, allocations: 20 kB / 0.8609 GB, free: 14.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.5858, allocations: 0 / 0.8609 GB, free: 14.63 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/0.5858, allocations: 7.5 kB / 0.8609 GB, free: 14.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.5871, allocations: 1.202 MB / 0.8621 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.5874, allocations: 187.1 kB / 0.8623 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.304e-05/0.5874, allocations: 12 kB / 0.8623 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.5877, allocations: 25.11 kB / 0.8623 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/0.5878, allocations: 44.56 kB / 0.8624 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.5878, allocations: 20 kB / 0.8624 GB, free: 13.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003488/0.5882, allocations: 455 kB / 0.8628 GB, free: 12.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.5882, allocations: 0 / 0.8628 GB, free: 12.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005492/0.5887, allocations: 347.3 kB / 0.8631 GB, free: 12.35 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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.001664/0.5904, allocations: 1.84 MB / 0.8649 GB, free: 10.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007044/0.5911, allocations: 0.638 MB / 0.8656 GB, free: 9.848 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5911, allocations: 4 kB / 0.8656 GB, free: 9.844 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003578/0.5915, allocations: 351.9 kB / 0.8659 GB, free: 9.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.5928, allocations: 0.5447 MB / 0.8664 GB, free: 9.008 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00716/0.6, allocations: 6.812 MB / 0.8731 GB, free: 2.023 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.6003, allocations: 498.6 kB / 0.8736 GB, free: 1.508 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007211/0.6011, allocations: 230.2 kB / 0.8738 GB, free: 1.281 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/0.6015, allocations: 368.4 kB / 0.8741 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/0.6015, allocations: 0 / 0.8741 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04145/0.6429, allocations: 28.04 MB / 0.9015 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.614/9.257, allocations: 8 kB / 0.9015 GB, free: 5.535 MB / 0.7292 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.647833411581814] Failed to read output from testmodel.py, exit status != 0: 9.356623252853751 9.370129088 8.803900765 Calling exit ...