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.001738/0.001738, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.00222/0.00222, allocations: 204 kB / 20.09 MB, free: 2.977 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.416/1.416, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 0.9318/0.9318, allocations: 150 MB / 459.5 MB, free: 5.332 MB / 350.1 MB " [Timeout remaining time 179] 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.001973/0.001973, allocations: 68.75 kB / 0.6361 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1638, allocations: 89.14 MB / 0.7232 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.6142/0.778, allocations: 207.9 MB / 0.9262 GB, free: 2.285 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009239/0.7872, allocations: 6.399 MB / 0.9324 GB, free: 2.078 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/0.789, allocations: 49.22 kB / 0.9325 GB, free: 2.078 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.7909, allocations: 0.7647 MB / 0.9332 GB, free: 2.066 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007053/0.798, allocations: 2.766 MB / 0.9359 GB, free: 1.934 MB / 0.67 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.001926/0.7999, allocations: 0.7129 MB / 0.9366 GB, free: 1.914 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004249/0.8042, allocations: 3.294 MB / 0.9398 GB, free: 1.84 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.8055, allocations: 0.9372 MB / 0.9407 GB, free: 1.742 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002831/0.8084, allocations: 1.434 MB / 0.9421 GB, free: 1.543 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/0.8108, allocations: 1.154 MB / 0.9433 GB, free: 1.23 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002352/0.811, allocations: 129.4 kB / 0.9434 GB, free: 1.23 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00458/0.8156, allocations: 2.497 MB / 0.9458 GB, free: 0.793 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007172/0.8163, allocations: 0.5256 MB / 0.9463 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.8174, allocations: 0.7461 MB / 0.9471 GB, free: 172 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005771/0.8231, allocations: 2.824 MB / 0.9498 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.8231, allocations: 0 / 0.9498 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8231, allocations: 0 / 0.9498 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.318e-05/0.8232, allocations: 4 kB / 0.9498 GB, free: 15.25 MB / 0.6856 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.004689/0.8279, allocations: 1.808 MB / 0.9516 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.8279, allocations: 8.188 kB / 0.9516 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002085/0.8281, allocations: 165.6 kB / 0.9518 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/0.8304, allocations: 352.7 kB / 0.9521 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.832, allocations: 0.8766 MB / 0.953 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.616e-05/0.8321, allocations: 77.45 kB / 0.953 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.8322, allocations: 101.9 kB / 0.9531 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.8342, allocations: 1.194 MB / 0.9543 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.8342, allocations: 7.938 kB / 0.9543 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.8343, allocations: 44.19 kB / 0.9543 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.531e-05/0.8344, allocations: 58.48 kB / 0.9544 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.8362, allocations: 1.247 MB / 0.9556 GB, free: 11.6 MB / 0.6856 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.007037/0.8433, allocations: 5.268 MB / 0.9608 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.8447, allocations: 1.128 MB / 0.9619 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006964/0.8454, allocations: 495.5 kB / 0.9623 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.779e-05/0.8455, allocations: 19.33 kB / 0.9624 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007071/0.8462, allocations: 487.7 kB / 0.9628 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 2.896e-06/0.8462, allocations: 0 / 0.9628 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.001981/0.8482, allocations: 1.164 MB / 0.964 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.8482, allocations: 59.81 kB / 0.964 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007242/0.849, allocations: 0.5792 MB / 0.9646 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.641e-05/0.849, allocations: 36.17 kB / 0.9646 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.8494, allocations: 483.1 kB / 0.9651 GB, free: 4.332 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/0.8497, allocations: 272.2 kB / 0.9653 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.8499, allocations: 130.1 kB / 0.9655 GB, free: 4.023 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.8501, allocations: 387.7 kB / 0.9658 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.8506, allocations: 331.5 kB / 0.9661 GB, free: 3.488 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005647/0.8511, allocations: 452.2 kB / 0.9666 GB, free: 3.191 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.8522, allocations: 0.8186 MB / 0.9674 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.8522, allocations: 1.5 kB / 0.9674 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001454/0.8537, allocations: 0.9306 MB / 0.9683 GB, free: 2.246 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.8537, allocations: 13.12 kB / 0.9683 GB, free: 2.242 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.8537, allocations: 1.844 kB / 0.9683 GB, free: 2.242 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.8538, allocations: 10.59 kB / 0.9683 GB, free: 2.238 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/0.8544, allocations: 153.6 kB / 0.9685 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.8544, allocations: 13.39 kB / 0.9685 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008114/0.8553, allocations: 64.98 kB / 0.9685 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/0.8553, allocations: 24.03 kB / 0.9686 GB, free: 2.156 MB / 0.6856 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.000559/0.8559, allocations: 334.1 kB / 0.9689 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.856, allocations: 88.86 kB / 0.969 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.8563, allocations: 108.3 kB / 0.9691 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.8563, allocations: 6.844 kB / 0.9691 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.8563, allocations: 4.344 kB / 0.9691 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001468/0.8578, allocations: 1.091 MB / 0.9701 GB, free: 0.875 MB / 0.6856 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.003518/0.8613, allocations: 2.309 MB / 0.9724 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.8613, allocations: 4 kB / 0.9724 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008615/0.8622, allocations: 171.6 kB / 0.9726 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.8622, allocations: 4 kB / 0.9726 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-05/0.8622, allocations: 19.98 kB / 0.9726 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/0.8622, allocations: 4.031 kB / 0.9726 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.8622, allocations: 4 kB / 0.9726 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.8643, allocations: 1.358 MB / 0.9739 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004685/0.8647, allocations: 248.5 kB / 0.9742 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.8649, allocations: 27.92 kB / 0.9742 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007049/0.8656, allocations: 21.83 kB / 0.9742 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.8657, allocations: 51.12 kB / 0.9743 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.174e-05/0.8658, allocations: 27.98 kB / 0.9743 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005677/0.8664, allocations: 415 kB / 0.9747 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.8664, allocations: 0 / 0.9747 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0011/0.8675, allocations: 371.3 kB / 0.975 GB, free: 11.79 MB / 0.7012 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.002547/0.87, allocations: 1.972 MB / 0.977 GB, free: 9.801 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.8714, allocations: 0.7664 MB / 0.9777 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.8714, allocations: 0 / 0.9777 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005864/0.872, allocations: 411 kB / 0.9781 GB, free: 8.664 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/0.8747, allocations: 0.5828 MB / 0.9787 GB, free: 8.105 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.8856, allocations: 7.279 MB / 0.9858 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009336/0.8865, allocations: 1.136 MB / 0.9869 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009926/0.8875, allocations: 281.7 kB / 0.9872 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006028/0.8881, allocations: 383.3 kB / 0.9875 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of SimCode: time 1.262e-06/0.8881, allocations: 0 / 0.9875 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05987/0.948, allocations: 26.04 MB / 1.013 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.433/10.38, allocations: 2.781 kB / 1.013 GB, free: 5.156 MB / 0.7325 GB " [Timeout remaining time 650] (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: 14.207689441042021] Failed to read output from testmodel.py, exit status != 0: 10.470259065972641 10.498244568 9.66978844 Calling exit ...