Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_IDEAS_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.001007/0.001007, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.0009688/0.0009688, allocations: 199.2 kB / 16.26 MB, free: 6.625 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.203/1.203, allocations: 222.9 MB / 239.9 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6811/0.6811, allocations: 132.2 MB / 422.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 66.89 kB / 0.5014 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3705, allocations: 80.19 MB / 0.5797 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.1912/0.5617, allocations: 201.6 MB / 0.7765 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008896/0.5706, allocations: 6.325 MB / 0.7827 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.5721, allocations: 31.81 kB / 0.7827 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.5738, allocations: 0.6572 MB / 0.7834 GB, free: 452 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005983/0.5799, allocations: 2.517 MB / 0.7858 GB, free: 13.91 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001669/0.5816, allocations: 0.6355 MB / 0.7864 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003838/0.5854, allocations: 3.277 MB / 0.7896 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.5868, allocations: 1.117 MB / 0.7907 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.5889, allocations: 1.265 MB / 0.792 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002053/0.5909, allocations: 1.159 MB / 0.7931 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.5911, allocations: 128 kB / 0.7932 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004091/0.5952, allocations: 2.474 MB / 0.7956 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005431/0.5958, allocations: 0.5182 MB / 0.7961 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008655/0.5966, allocations: 0.7314 MB / 0.7969 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004054/0.6007, allocations: 2.941 MB / 0.7997 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6007, allocations: 0 / 0.7997 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6007, allocations: 4 kB / 0.7997 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.6008, allocations: 0 / 0.7997 GB, free: 15.62 MB / 0.6387 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.003627/0.6044, allocations: 1.776 MB / 0.8015 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.6044, allocations: 8.031 kB / 0.8015 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/0.6046, allocations: 164.6 kB / 0.8016 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/0.6068, allocations: 354.1 kB / 0.802 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.6079, allocations: 0.8428 MB / 0.8028 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.322e-05/0.608, allocations: 74 kB / 0.8029 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.6082, allocations: 103.9 kB / 0.803 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.6099, allocations: 1.199 MB / 0.8041 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.61, allocations: 0 / 0.8041 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-05/0.6101, allocations: 40 kB / 0.8042 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.966e-05/0.6101, allocations: 65.95 kB / 0.8042 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.6118, allocations: 1.242 MB / 0.8054 GB, free: 9.609 MB / 0.6387 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.00563/0.6175, allocations: 5.048 MB / 0.8104 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.6188, allocations: 1.151 MB / 0.8115 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006414/0.6194, allocations: 0.5057 MB / 0.812 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.796e-05/0.6195, allocations: 8.656 kB / 0.812 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006707/0.6202, allocations: 0.4921 MB / 0.8125 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.275e-06/0.6202, allocations: 0 / 0.8125 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.001791/0.622, allocations: 1.149 MB / 0.8136 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.622, allocations: 60.06 kB / 0.8137 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005968/0.6226, allocations: 0.5783 MB / 0.8142 GB, free: 40 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.2429/0.8656, allocations: 40.44 kB / 0.8143 GB, free: 221.1 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/0.866, allocations: 459.1 kB / 0.8147 GB, free: 221 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.8663, allocations: 266.8 kB / 0.815 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.8665, allocations: 135 kB / 0.8151 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.8666, allocations: 384.8 kB / 0.8155 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005692/0.8672, allocations: 330.5 kB / 0.8158 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/0.8677, allocations: 463.3 kB / 0.8162 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009991/0.8688, allocations: 0.8232 MB / 0.817 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.8688, allocations: 2.031 kB / 0.817 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001365/0.8701, allocations: 0.9262 MB / 0.8179 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.8702, allocations: 5.719 kB / 0.8179 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.8702, allocations: 6.344 kB / 0.8179 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.8702, allocations: 6.312 kB / 0.8179 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.8709, allocations: 160.2 kB / 0.8181 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.8709, allocations: 6.578 kB / 0.8181 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008989/0.8718, allocations: 130.1 kB / 0.8182 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/0.8719, allocations: 26.59 kB / 0.8182 GB, free: 219.2 MB / 0.6387 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.0004228/0.8723, allocations: 338.1 kB / 0.8186 GB, free: 219 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.8724, allocations: 82.59 kB / 0.8186 GB, free: 219 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.8726, allocations: 109.3 kB / 0.8188 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.8726, allocations: 11.88 kB / 0.8188 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.8727, allocations: 0 / 0.8188 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001176/0.8738, allocations: 1.082 MB / 0.8198 GB, free: 218.2 MB / 0.6387 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.003112/0.877, allocations: 2.316 MB / 0.8221 GB, free: 217 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.877, allocations: 1.109 kB / 0.8221 GB, free: 217 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008348/0.8778, allocations: 176.9 kB / 0.8223 GB, free: 217 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.8778, allocations: 3.094 kB / 0.8223 GB, free: 217 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.8779, allocations: 25.77 kB / 0.8223 GB, free: 217 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.8779, allocations: 5.906 kB / 0.8223 GB, free: 217 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.8779, allocations: 0.6094 kB / 0.8223 GB, free: 217 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.8799, allocations: 1.486 MB / 0.8237 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/0.8804, allocations: 248.2 kB / 0.824 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.8806, allocations: 20.28 kB / 0.824 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008547/0.8814, allocations: 104.1 kB / 0.8241 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.8815, allocations: 41.52 kB / 0.8241 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.544e-05/0.8816, allocations: 24.23 kB / 0.8242 GB, free: 216 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006137/0.8822, allocations: 415.5 kB / 0.8246 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.1e-07/0.8822, allocations: 0 / 0.8246 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001128/0.8834, allocations: 367.1 kB / 0.8249 GB, free: 215.8 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.00239/0.8858, allocations: 2.1 MB / 0.827 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001932/0.8877, allocations: 1.038 MB / 0.828 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.8877, allocations: 4.188 kB / 0.828 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005288/0.8883, allocations: 430.5 kB / 0.8284 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/0.8907, allocations: 0.5876 MB / 0.829 GB, free: 214 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009034/0.8998, allocations: 7.88 MB / 0.8367 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.9003, allocations: 1.142 MB / 0.8378 GB, free: 208.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001036/0.9014, allocations: 272.9 kB / 0.838 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004225/0.9018, allocations: 375.5 kB / 0.8384 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of SimCode: time 1.102e-06/0.9018, allocations: 0 / 0.8384 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03601/0.9378, allocations: 25.6 MB / 0.8634 GB, free: 188.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/0.938, allocations: 184 kB / 0.8636 GB, free: 188 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/3.103, allocations: 4.062 kB / 0.8636 GB, free: 188 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)