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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 106.4 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 186.7 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7053/0.7053, allocations: 122.8 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 67.89 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3018, allocations: 77.9 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.436/0.7378, allocations: 204.1 MB / 0.7666 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007446/0.7452, allocations: 6.364 MB / 0.7728 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006157/0.7459, allocations: 38.25 kB / 0.7729 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.7472, allocations: 0.7345 MB / 0.7736 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004318/0.7515, allocations: 2.674 MB / 0.7762 GB, free: 1.586 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.001171/0.7527, allocations: 0.7026 MB / 0.7769 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002483/0.7552, allocations: 3.282 MB / 0.7801 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.7563, allocations: 1.14 MB / 0.7812 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.7577, allocations: 1.241 MB / 0.7824 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.7589, allocations: 1.103 MB / 0.7835 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.7591, allocations: 128.2 kB / 0.7836 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002764/0.7619, allocations: 2.358 MB / 0.7859 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003286/0.7622, allocations: 0.5157 MB / 0.7864 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005684/0.7628, allocations: 0.737 MB / 0.7871 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.765, allocations: 2.78 MB / 0.7899 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.765, allocations: 3.938 kB / 0.7899 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.765, allocations: 0 / 0.7899 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.765, allocations: 3.812 kB / 0.7899 GB, free: 1.199 MB / 0.5762 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.002998/0.768, allocations: 1.767 MB / 0.7916 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.768, allocations: 11.94 kB / 0.7916 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00016/0.7682, allocations: 161 kB / 0.7918 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.7701, allocations: 349.3 kB / 0.7921 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009385/0.771, allocations: 0.8461 MB / 0.7929 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.7711, allocations: 80.36 kB / 0.793 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.7712, allocations: 98.73 kB / 0.7931 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.7726, allocations: 1.189 MB / 0.7942 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.7726, allocations: 0.8438 kB / 0.7943 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.643e-05/0.7727, allocations: 44.34 kB / 0.7943 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.046e-05/0.7728, allocations: 65.38 kB / 0.7944 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.7742, allocations: 1.243 MB / 0.7956 GB, free: 15.82 MB / 0.5919 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.004656/0.7788, allocations: 5.136 MB / 0.8006 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.78, allocations: 1.158 MB / 0.8017 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006195/0.7806, allocations: 0.499 MB / 0.8022 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.771e-05/0.7807, allocations: 17.97 kB / 0.8022 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005424/0.7812, allocations: 496.8 kB / 0.8027 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 1.713e-06/0.7813, allocations: 2.094 kB / 0.8027 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.00145/0.7827, allocations: 1.156 MB / 0.8038 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.7827, allocations: 60.41 kB / 0.8039 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004851/0.7832, allocations: 0.578 MB / 0.8044 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.96e-05/0.7833, allocations: 46.12 kB / 0.8045 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.7835, allocations: 455.4 kB / 0.8049 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.7837, allocations: 270.2 kB / 0.8052 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.7839, allocations: 131.2 kB / 0.8053 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.784, allocations: 386.8 kB / 0.8057 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/0.7844, allocations: 328.8 kB / 0.806 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/0.7849, allocations: 455.1 kB / 0.8064 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009131/0.7858, allocations: 0.8208 MB / 0.8072 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7858, allocations: 0 / 0.8072 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001032/0.7868, allocations: 0.9347 MB / 0.8081 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.7869, allocations: 5.5 kB / 0.8081 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.7869, allocations: 5.531 kB / 0.8081 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.7869, allocations: 8.781 kB / 0.8082 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005562/0.7875, allocations: 154.6 kB / 0.8083 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.7875, allocations: 14.75 kB / 0.8083 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00061/0.7881, allocations: 57.06 kB / 0.8084 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.7881, allocations: 27.94 kB / 0.8084 GB, free: 11.46 MB / 0.5919 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.0003119/0.7885, allocations: 329.3 kB / 0.8087 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.7886, allocations: 90.89 kB / 0.8088 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.7888, allocations: 105.3 kB / 0.8089 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.7888, allocations: 10.36 kB / 0.8089 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.7888, allocations: 4 kB / 0.8089 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00098/0.7898, allocations: 1.086 MB / 0.81 GB, free: 10.82 MB / 0.5919 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.002328/0.7921, allocations: 2.311 MB / 0.8122 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.7921, allocations: 0 / 0.8122 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007162/0.7928, allocations: 181 kB / 0.8124 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.7928, allocations: 2.125 kB / 0.8124 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/0.7929, allocations: 17.09 kB / 0.8124 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.7929, allocations: 4.312 kB / 0.8124 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.7929, allocations: 2.844 kB / 0.8124 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.7943, allocations: 1.358 MB / 0.8138 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/0.7946, allocations: 250.3 kB / 0.814 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.7947, allocations: 17.19 kB / 0.814 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/0.7952, allocations: 21.02 kB / 0.814 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.766e-05/0.7953, allocations: 49.59 kB / 0.8141 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.7954, allocations: 26.61 kB / 0.8141 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003385/0.7957, allocations: 412.1 kB / 0.8145 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7957, allocations: 0.875 kB / 0.8145 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006496/0.7964, allocations: 362.7 kB / 0.8148 GB, free: 9.812 MB / 0.5919 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.001759/0.7981, allocations: 1.977 MB / 0.8168 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.7995, allocations: 1.032 MB / 0.8178 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7995, allocations: 3.406 kB / 0.8178 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004052/0.7999, allocations: 426 kB / 0.8182 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.8021, allocations: 0.5918 MB / 0.8188 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007562/0.8097, allocations: 7.494 MB / 0.8261 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/0.8104, allocations: 1.139 MB / 0.8272 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007976/0.8112, allocations: 267.2 kB / 0.8275 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004685/0.8116, allocations: 379.3 kB / 0.8278 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.8116, allocations: 4 kB / 0.8278 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.24/2.052, allocations: 25.73 MB / 0.8529 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.778/11.83, allocations: 14.12 kB / 0.853 GB, free: 8.949 MB / 0.6231 GB (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 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)