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.001283/0.001283, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001519/0.001519, allocations: 219 kB / 23 MB, free: 5.008 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.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.9405/0.9405, allocations: 150 MB / 463.2 MB, free: 10.53 MB / 366.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.002107/0.002107, allocations: 60.69 kB / 0.6413 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.176, allocations: 89.17 MB / 0.7283 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5843/0.7603, allocations: 208.3 MB / 0.9318 GB, free: 6.949 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0114/0.7717, allocations: 6.414 MB / 0.9381 GB, free: 0.5234 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.7735, allocations: 51.62 kB / 0.9381 GB, free: 484 kB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00233/0.7758, allocations: 0.7616 MB / 0.9389 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007841/0.7836, allocations: 2.836 MB / 0.9416 GB, free: 12.86 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.002282/0.7859, allocations: 0.7403 MB / 0.9423 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005198/0.7911, allocations: 3.361 MB / 0.9456 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.7928, allocations: 0.8208 MB / 0.9464 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003319/0.7961, allocations: 1.433 MB / 0.9478 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003017/0.7992, allocations: 1.157 MB / 0.949 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004404/0.7996, allocations: 128 kB / 0.9491 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005605/0.8052, allocations: 2.545 MB / 0.9516 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009113/0.8061, allocations: 0.5297 MB / 0.9521 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001899/0.808, allocations: 0.743 MB / 0.9528 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006454/0.8145, allocations: 2.804 MB / 0.9556 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.8145, allocations: 0 / 0.9556 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8145, allocations: 0 / 0.9556 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.927e-05/0.8146, allocations: 0 / 0.9556 GB, free: 14.55 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.005282/0.8198, allocations: 1.738 MB / 0.9572 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.8199, allocations: 12.03 kB / 0.9573 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003426/0.8202, allocations: 161.2 kB / 0.9574 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/0.8226, allocations: 346.9 kB / 0.9577 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.8245, allocations: 0.8142 MB / 0.9585 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.111e-05/0.8246, allocations: 74.02 kB / 0.9586 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/0.8248, allocations: 104 kB / 0.9587 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.827, allocations: 1.198 MB / 0.9599 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.8271, allocations: 0 / 0.9599 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.8272, allocations: 47.98 kB / 0.9599 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.68e-05/0.8272, allocations: 54.08 kB / 0.96 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/0.8294, allocations: 1.253 MB / 0.9612 GB, free: 8.645 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.007977/0.8374, allocations: 5.203 MB / 0.9663 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.8389, allocations: 0.8373 MB / 0.9671 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007855/0.8397, allocations: 489.2 kB / 0.9676 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.372e-05/0.8398, allocations: 16.78 kB / 0.9676 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008577/0.8406, allocations: 496.1 kB / 0.9681 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.507e-06/0.8406, allocations: 0 / 0.9681 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.002237/0.8429, allocations: 1.161 MB / 0.9692 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.8429, allocations: 60.06 kB / 0.9692 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000841/0.8437, allocations: 0.5706 MB / 0.9698 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.938e-05/0.8438, allocations: 41.7 kB / 0.9698 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.8442, allocations: 476.5 kB / 0.9703 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/0.8445, allocations: 289.5 kB / 0.9706 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.8448, allocations: 130.6 kB / 0.9707 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.845, allocations: 386.8 kB / 0.9711 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005714/0.8456, allocations: 333.8 kB / 0.9714 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006437/0.8462, allocations: 444.8 kB / 0.9718 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.8475, allocations: 0.8316 MB / 0.9726 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.8475, allocations: 0 / 0.9726 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001716/0.8492, allocations: 0.9341 MB / 0.9735 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.8492, allocations: 7.938 kB / 0.9735 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.8492, allocations: 4 kB / 0.9735 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/0.8493, allocations: 4 kB / 0.9735 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/0.85, allocations: 155.8 kB / 0.9737 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/0.85, allocations: 7.938 kB / 0.9737 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008073/0.8508, allocations: 63.52 kB / 0.9738 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/0.8509, allocations: 28.27 kB / 0.9738 GB, free: 11.1 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.000578/0.8514, allocations: 333.6 kB / 0.9741 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.8516, allocations: 91.42 kB / 0.9742 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.8519, allocations: 103.8 kB / 0.9743 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.8519, allocations: 8 kB / 0.9743 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.8519, allocations: 0 / 0.9743 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/0.8534, allocations: 1.089 MB / 0.9754 GB, free: 9.379 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.003655/0.857, allocations: 2.284 MB / 0.9776 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.857, allocations: 0 / 0.9776 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008374/0.8579, allocations: 171.8 kB / 0.9778 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/0.8579, allocations: 4 kB / 0.9778 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.375e-05/0.8579, allocations: 27.55 kB / 0.9778 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.8579, allocations: 4 kB / 0.9778 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8579, allocations: 0 / 0.9778 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.8599, allocations: 1.36 MB / 0.9791 GB, free: 5.434 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000475/0.8604, allocations: 183.3 kB / 0.9793 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.8606, allocations: 16 kB / 0.9793 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006308/0.8612, allocations: 19.98 kB / 0.9793 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.745e-05/0.8613, allocations: 44.56 kB / 0.9794 GB, free: 5.172 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/0.8613, allocations: 27.98 kB / 0.9794 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00053/0.8619, allocations: 415 kB / 0.9798 GB, free: 4.746 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8619, allocations: 7.938 kB / 0.9798 GB, free: 4.738 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009446/0.8628, allocations: 371.3 kB / 0.9802 GB, free: 4.375 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.002452/0.8653, allocations: 1.972 MB / 0.9821 GB, free: 2.375 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00127/0.8665, allocations: 0.7672 MB / 0.9828 GB, free: 1.609 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8665, allocations: 4.188 kB / 0.9828 GB, free: 1.605 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005759/0.8671, allocations: 411.5 kB / 0.9832 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/0.8696, allocations: 0.5853 MB / 0.9838 GB, free: 0.6562 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.8803, allocations: 7.287 MB / 0.9909 GB, free: 9.211 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000908/0.8812, allocations: 1.143 MB / 0.992 GB, free: 8.039 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008967/0.8821, allocations: 271.1 kB / 0.9923 GB, free: 7.77 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005875/0.8827, allocations: 375.3 kB / 0.9927 GB, free: 7.402 MB / 0.7637 GB Notification: Performance of SimCode: time 8.12e-07/0.8827, allocations: 0 / 0.9927 GB, free: 7.402 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0699/0.9526, allocations: 26.7 MB / 1.019 GB, free: 13.04 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.36, allocations: 14.92 kB / 1.019 GB, free: 13.03 MB / 0.795 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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: 16.995631662895903] Failed to read output from testmodel.py, exit status != 0: 13.478896931977943 13.503118308 12.683841097 Calling exit ...