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.001626/0.001626, allocations: 112.9 kB / 20.48 MB, free: 1.488 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.002002/0.002002, allocations: 219.2 kB / 23.8 MB, free: 4.695 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.459/1.459, allocations: 230.6 MB / 257.6 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 0.9484/0.9484, allocations: 150 MB / 464 MB, free: 10.55 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="cs",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.00223/0.00223, allocations: 63.28 kB / 0.642 GB, free: 10.44 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1746, allocations: 89.18 MB / 0.7291 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.6252/0.7997, allocations: 208.3 MB / 0.9326 GB, free: 6.906 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01084/0.8106, allocations: 6.411 MB / 0.9388 GB, free: 492 kB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.8119, allocations: 47.62 kB / 0.9389 GB, free: 444 kB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001971/0.8139, allocations: 0.7735 MB / 0.9396 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006543/0.8204, allocations: 2.832 MB / 0.9424 GB, free: 12.81 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.00182/0.8222, allocations: 0.7322 MB / 0.9431 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004597/0.8268, allocations: 3.369 MB / 0.9464 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.8282, allocations: 0.8247 MB / 0.9472 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.831, allocations: 1.425 MB / 0.9486 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002696/0.8337, allocations: 1.155 MB / 0.9497 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002594/0.8339, allocations: 128 kB / 0.9498 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005426/0.8394, allocations: 2.556 MB / 0.9523 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009498/0.8403, allocations: 0.5258 MB / 0.9529 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.8416, allocations: 0.7352 MB / 0.9536 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005172/0.8468, allocations: 2.812 MB / 0.9563 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.8468, allocations: 0 / 0.9563 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.183e-06/0.8468, allocations: 0 / 0.9563 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.033e-05/0.8468, allocations: 0 / 0.9563 GB, free: 14.5 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.00485/0.8516, allocations: 1.73 MB / 0.958 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.8517, allocations: 8.031 kB / 0.958 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.878e-05/0.8517, allocations: 30.64 kB / 0.958 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002504/0.852, allocations: 164.6 kB / 0.9582 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002433/0.8544, allocations: 358.8 kB / 0.9585 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.8564, allocations: 0.8065 MB / 0.9593 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.8565, allocations: 70.52 kB / 0.9594 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.8567, allocations: 104 kB / 0.9595 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.8591, allocations: 1.195 MB / 0.9607 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.8592, allocations: 0 / 0.9607 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.8593, allocations: 43.98 kB / 0.9607 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.113e-05/0.8594, allocations: 62.02 kB / 0.9608 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.8615, allocations: 1.257 MB / 0.962 GB, free: 8.562 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.00843/0.87, allocations: 5.204 MB / 0.9671 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.8716, allocations: 0.8373 MB / 0.9679 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008547/0.8725, allocations: 485.2 kB / 0.9684 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-05/0.8726, allocations: 16.78 kB / 0.9684 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009026/0.8735, allocations: 492.1 kB / 0.9688 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.465e-06/0.8735, allocations: 4 kB / 0.9688 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.002204/0.8757, allocations: 1.157 MB / 0.97 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.8757, allocations: 60.06 kB / 0.97 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009023/0.8766, allocations: 0.5706 MB / 0.9706 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.274e-05/0.8767, allocations: 45.64 kB / 0.9706 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004528/0.8772, allocations: 472.6 kB / 0.9711 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003983/0.8776, allocations: 293.5 kB / 0.9714 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.8778, allocations: 130.6 kB / 0.9715 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000242/0.8781, allocations: 386.8 kB / 0.9719 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000536/0.8786, allocations: 333.8 kB / 0.9722 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006371/0.8792, allocations: 448.8 kB / 0.9726 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.8805, allocations: 0.8239 MB / 0.9734 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.8805, allocations: 0 / 0.9734 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001635/0.8822, allocations: 0.9302 MB / 0.9743 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.8822, allocations: 11.94 kB / 0.9743 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.8822, allocations: 4 kB / 0.9743 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.8822, allocations: 4 kB / 0.9743 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007137/0.8829, allocations: 160.6 kB / 0.9745 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.8829, allocations: 7.938 kB / 0.9745 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007554/0.8837, allocations: 59.52 kB / 0.9746 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.854e-05/0.8838, allocations: 31.98 kB / 0.9746 GB, free: 11.02 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.0006008/0.8844, allocations: 329.8 kB / 0.9749 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.8845, allocations: 87.42 kB / 0.975 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.8848, allocations: 111.8 kB / 0.9751 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.8848, allocations: 8 kB / 0.9751 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.8848, allocations: 3.562 kB / 0.9751 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001453/0.8863, allocations: 1.085 MB / 0.9762 GB, free: 9.305 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.003601/0.8899, allocations: 2.287 MB / 0.9784 GB, free: 6.934 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.8899, allocations: 0 / 0.9784 GB, free: 6.934 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008789/0.8908, allocations: 175.8 kB / 0.9786 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.8908, allocations: 4 kB / 0.9786 GB, free: 6.758 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/0.8908, allocations: 19.98 kB / 0.9786 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.8908, allocations: 4 kB / 0.9786 GB, free: 6.734 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.8908, allocations: 3.938 kB / 0.9786 GB, free: 6.73 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.8929, allocations: 1.36 MB / 0.9799 GB, free: 5.348 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004909/0.8934, allocations: 179.3 kB / 0.9801 GB, free: 5.172 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.8935, allocations: 16 kB / 0.9801 GB, free: 5.156 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006222/0.8942, allocations: 23.98 kB / 0.9801 GB, free: 5.133 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.8943, allocations: 44.56 kB / 0.9802 GB, free: 5.086 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.92e-05/0.8943, allocations: 27.92 kB / 0.9802 GB, free: 5.059 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000532/0.8949, allocations: 415.1 kB / 0.9806 GB, free: 4.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.8949, allocations: 4 kB / 0.9806 GB, free: 4.656 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009369/0.8958, allocations: 367.3 kB / 0.9809 GB, free: 4.297 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.00245/0.8982, allocations: 1.972 MB / 0.9829 GB, free: 2.301 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001336/0.8996, allocations: 0.7674 MB / 0.9836 GB, free: 1.535 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.8996, allocations: 4.125 kB / 0.9836 GB, free: 1.531 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006159/0.9002, allocations: 407.5 kB / 0.984 GB, free: 1.133 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/0.903, allocations: 0.5991 MB / 0.9846 GB, free: 0.5742 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.9147, allocations: 7.287 MB / 0.9917 GB, free: 9.129 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009109/0.9156, allocations: 1.136 MB / 0.9928 GB, free: 7.965 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001073/0.9167, allocations: 275.1 kB / 0.9931 GB, free: 7.691 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006297/0.9173, allocations: 375.3 kB / 0.9934 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of SimCode: time 1.162e-06/0.9173, allocations: 4 kB / 0.9934 GB, free: 7.32 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08669/1.004, allocations: 26.74 MB / 1.02 GB, free: 12.93 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/14.23, allocations: 8.062 kB / 1.02 GB, free: 12.92 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 & /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: 18.068764086987358] Failed to read output from testmodel.py, exit status != 0: 14.407549645984545 14.423571804 13.573478748 Calling exit ...