Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.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.001306/0.001306, allocations: 119 kB / 19.69 MB, free: 2.199 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.001446/0.001446, allocations: 221.6 kB / 23.01 MB, free: 5.047 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.081/1.081, allocations: 150 MB / 463.2 MB, free: 10.54 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.00211/0.00211, allocations: 67.05 kB / 0.6413 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1932, allocations: 89.18 MB / 0.7283 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.6788/0.8719, allocations: 208.3 MB / 0.9318 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01124/0.8832, allocations: 6.402 MB / 0.9381 GB, free: 472 kB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002051/0.8852, allocations: 43.69 kB / 0.9381 GB, free: 428 kB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002506/0.8877, allocations: 0.7811 MB / 0.9389 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008037/0.8958, allocations: 2.828 MB / 0.9416 GB, free: 12.79 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.002334/0.8981, allocations: 0.7457 MB / 0.9423 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005983/0.9041, allocations: 3.364 MB / 0.9456 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001785/0.9059, allocations: 0.8208 MB / 0.9464 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003485/0.9094, allocations: 1.433 MB / 0.9478 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002974/0.9123, allocations: 1.157 MB / 0.949 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000287/0.9126, allocations: 128 kB / 0.9491 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005853/0.9185, allocations: 2.552 MB / 0.9516 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009471/0.9194, allocations: 0.5258 MB / 0.9521 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.9207, allocations: 0.7391 MB / 0.9528 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005347/0.926, allocations: 2.804 MB / 0.9556 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.9261, allocations: 4 kB / 0.9556 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.275e-06/0.9261, allocations: 0 / 0.9556 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.596e-05/0.9261, allocations: 4 kB / 0.9556 GB, free: 14.47 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.00476/0.9308, allocations: 1.726 MB / 0.9572 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.9309, allocations: 16.03 kB / 0.9573 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002179/0.9311, allocations: 161.7 kB / 0.9574 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002367/0.9335, allocations: 354.9 kB / 0.9578 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001894/0.9354, allocations: 0.8103 MB / 0.9585 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.977e-05/0.9355, allocations: 78 kB / 0.9586 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.9356, allocations: 96 kB / 0.9587 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.9378, allocations: 1.191 MB / 0.9599 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.9379, allocations: 4 kB / 0.9599 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.938, allocations: 43.94 kB / 0.9599 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.982e-05/0.938, allocations: 66 kB / 0.96 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.9402, allocations: 1.242 MB / 0.9612 GB, free: 8.578 MB / 0.7325 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.007999/0.9482, allocations: 5.214 MB / 0.9663 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.9497, allocations: 0.8301 MB / 0.9671 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007561/0.9504, allocations: 485.2 kB / 0.9676 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.448e-05/0.9505, allocations: 16.64 kB / 0.9676 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008225/0.9513, allocations: 492.1 kB / 0.968 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.715e-06/0.9513, allocations: 4 kB / 0.968 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.002209/0.9535, allocations: 1.165 MB / 0.9692 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.9536, allocations: 60.06 kB / 0.9692 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008035/0.9544, allocations: 0.5706 MB / 0.9698 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.271e-05/0.9545, allocations: 41.7 kB / 0.9698 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.9549, allocations: 480.7 kB / 0.9703 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/0.9552, allocations: 281.5 kB / 0.9706 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.9555, allocations: 134.6 kB / 0.9707 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002283/0.9557, allocations: 386.8 kB / 0.9711 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005342/0.9562, allocations: 329.8 kB / 0.9714 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006163/0.9568, allocations: 450.8 kB / 0.9718 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.9581, allocations: 0.8278 MB / 0.9726 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.9581, allocations: 0 / 0.9726 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001581/0.9596, allocations: 0.938 MB / 0.9735 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.9597, allocations: 7.938 kB / 0.9735 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.9597, allocations: 4 kB / 0.9735 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.9597, allocations: 8 kB / 0.9736 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007412/0.9604, allocations: 147.8 kB / 0.9737 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.9605, allocations: 8 kB / 0.9737 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008266/0.9613, allocations: 63.5 kB / 0.9738 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.796e-05/0.9613, allocations: 28 kB / 0.9738 GB, free: 11.04 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0005692/0.9619, allocations: 337.7 kB / 0.9741 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.9621, allocations: 87.42 kB / 0.9742 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.9624, allocations: 103.8 kB / 0.9743 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.9624, allocations: 8 kB / 0.9743 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.9624, allocations: 0 / 0.9743 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/0.9639, allocations: 1.089 MB / 0.9754 GB, free: 9.312 MB / 0.7481 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 postOpt removeSimpleEquations (simulation): time 0.004113/0.968, allocations: 2.287 MB / 0.9776 GB, free: 6.941 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.968, allocations: 4.031 kB / 0.9776 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000881/0.9689, allocations: 176.7 kB / 0.9778 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/0.9689, allocations: 4 kB / 0.9778 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.096e-05/0.9689, allocations: 16 kB / 0.9778 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.969, allocations: 0 / 0.9778 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.969, allocations: 4 kB / 0.9778 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/0.9712, allocations: 1.36 MB / 0.9791 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000653/0.9719, allocations: 185.3 kB / 0.9793 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.972, allocations: 16 kB / 0.9793 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006163/0.9726, allocations: 16 kB / 0.9793 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/0.9727, allocations: 48.56 kB / 0.9794 GB, free: 5.102 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.695e-05/0.9728, allocations: 27.98 kB / 0.9794 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005978/0.9734, allocations: 411 kB / 0.9798 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9734, allocations: 3.938 kB / 0.9798 GB, free: 4.676 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001064/0.9745, allocations: 379.3 kB / 0.9802 GB, free: 4.305 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.002673/0.9771, allocations: 1.97 MB / 0.9821 GB, free: 2.305 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.9785, allocations: 0.759 MB / 0.9828 GB, free: 1.547 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.9785, allocations: 0.6875 kB / 0.9828 GB, free: 1.547 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006827/0.9792, allocations: 415.5 kB / 0.9832 GB, free: 1.141 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/0.982, allocations: 0.5869 MB / 0.9838 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/0.9946, allocations: 7.299 MB / 0.9909 GB, free: 9.137 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.9956, allocations: 1.136 MB / 0.992 GB, free: 7.973 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009943/0.9966, allocations: 271.1 kB / 0.9923 GB, free: 7.703 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006306/0.9972, allocations: 383.3 kB / 0.9927 GB, free: 7.328 MB / 0.7637 GB Notification: Performance of SimCode: time 9.52e-07/0.9972, allocations: 0 / 0.9927 GB, free: 7.328 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07173/1.069, allocations: 26.7 MB / 1.019 GB, free: 12.96 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/14.01, allocations: 7.5 kB / 1.019 GB, free: 12.96 MB / 0.795 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.14696081299917] Failed to read output from testmodel.py, exit status != 0: 14.129527899000095 14.144032994 13.214645951 Calling exit ...