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.000869/0.0008691, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.0009869/0.0009869, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8047/0.8047, allocations: 132.3 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003568, allocations: 8.562 kB / 0.5035 GB, free: 4.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4881/0.4885, allocations: 81.57 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.2078/0.6963, allocations: 185.9 MB / 0.7647 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00905/0.7054, allocations: 5.962 MB / 0.7705 GB, free: 192 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.7074, allocations: 31.81 kB / 0.7705 GB, free: 160 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.7093, allocations: 485.1 kB / 0.771 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005853/0.7152, allocations: 1.929 MB / 0.7729 GB, free: 13.74 MB / 0.6075 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.001588/0.7168, allocations: 0.5019 MB / 0.7734 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004586/0.7213, allocations: 4.027 MB / 0.7773 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.7228, allocations: 0.8094 MB / 0.7781 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/0.7251, allocations: 1.058 MB / 0.7791 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/0.727, allocations: 1.055 MB / 0.7802 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.7272, allocations: 56 kB / 0.7802 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003415/0.7306, allocations: 1.126 MB / 0.7813 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005778/0.7312, allocations: 446.7 kB / 0.7817 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005359/0.7317, allocations: 293.1 kB / 0.782 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002593/0.7343, allocations: 1.835 MB / 0.7838 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.7343, allocations: 4 kB / 0.7838 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7343, allocations: 0 / 0.7838 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.128e-05/0.7344, allocations: 0 / 0.7838 GB, free: 2.5 MB / 0.6075 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.00366/0.738, allocations: 1.531 MB / 0.7853 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.7381, allocations: 15.97 kB / 0.7853 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002462/0.7383, allocations: 164.6 kB / 0.7855 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.7404, allocations: 350.1 kB / 0.7858 GB, free: 392 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.7418, allocations: 0.82 MB / 0.7866 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/0.7419, allocations: 73.92 kB / 0.7867 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.7421, allocations: 104 kB / 0.7868 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.744, allocations: 1.183 MB / 0.7879 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.7441, allocations: 0 / 0.7879 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.7442, allocations: 47.98 kB / 0.788 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.326e-05/0.7443, allocations: 54.08 kB / 0.788 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.7462, allocations: 1.238 MB / 0.7893 GB, free: 12.78 MB / 0.6231 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.006975/0.7532, allocations: 5.06 MB / 0.7942 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.7546, allocations: 1.139 MB / 0.7953 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006818/0.7552, allocations: 0.5018 MB / 0.7958 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.829e-05/0.7553, allocations: 20.8 kB / 0.7958 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006798/0.756, allocations: 484.2 kB / 0.7963 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 3.116e-06/0.756, allocations: 0 / 0.7963 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.001841/0.7579, allocations: 1.149 MB / 0.7974 GB, free: 3.883 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.7579, allocations: 60.06 kB / 0.7975 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006157/0.7585, allocations: 0.5705 MB / 0.798 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.427e-05/0.7586, allocations: 45.7 kB / 0.7981 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.7589, allocations: 467.6 kB / 0.7985 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.7591, allocations: 264.1 kB / 0.7988 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.7592, allocations: 16 kB / 0.7988 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.7593, allocations: 382.8 kB / 0.7991 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004571/0.7598, allocations: 325.8 kB / 0.7994 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.7603, allocations: 458.4 kB / 0.7999 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005477/0.7609, allocations: 403.1 kB / 0.8003 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.7609, allocations: 0 / 0.8003 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001292/0.7622, allocations: 0.9222 MB / 0.8012 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.7622, allocations: 8.062 kB / 0.8012 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.7622, allocations: 4 kB / 0.8012 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.7623, allocations: 4 kB / 0.8012 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/0.7629, allocations: 155.8 kB / 0.8013 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.7629, allocations: 4 kB / 0.8013 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008471/0.7638, allocations: 140.9 kB / 0.8015 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/0.7638, allocations: 27.94 kB / 0.8015 GB, free: 15.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004433/0.7643, allocations: 325.6 kB / 0.8018 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.7644, allocations: 87.06 kB / 0.8019 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.7646, allocations: 111.7 kB / 0.802 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.7647, allocations: 11.94 kB / 0.802 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.7647, allocations: 0 / 0.802 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00119/0.7659, allocations: 1.085 MB / 0.8031 GB, free: 13.88 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.002951/0.7688, allocations: 2.301 MB / 0.8053 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7688, allocations: 4.031 kB / 0.8053 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007927/0.7696, allocations: 179.8 kB / 0.8055 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.7697, allocations: 7.953 kB / 0.8055 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.754e-05/0.7697, allocations: 16 kB / 0.8055 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.7697, allocations: 4 kB / 0.8055 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7697, allocations: 4 kB / 0.8055 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.7715, allocations: 1.483 MB / 0.807 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/0.7719, allocations: 259.9 kB / 0.8072 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.772, allocations: 15.95 kB / 0.8072 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006997/0.7727, allocations: 103.1 kB / 0.8073 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.7728, allocations: 40.59 kB / 0.8074 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/0.7729, allocations: 31.98 kB / 0.8074 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004331/0.7733, allocations: 407.1 kB / 0.8078 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7733, allocations: 0 / 0.8078 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000856/0.7742, allocations: 371.1 kB / 0.8081 GB, free: 8.559 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002133/0.7763, allocations: 2.09 MB / 0.8102 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.7775, allocations: 0.7981 MB / 0.811 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7775, allocations: 8.562 kB / 0.811 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005266/0.778, allocations: 427.6 kB / 0.8114 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.7803, allocations: 0.56 MB / 0.8119 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3125/1.093, allocations: 5.844 MB / 0.8176 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008535/1.094, allocations: 1.142 MB / 0.8187 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001292/1.095, allocations: 268 kB / 0.819 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005375/1.096, allocations: 375.6 kB / 0.8194 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of SimCode: time 8.01e-07/1.096, allocations: 0.6562 kB / 0.8194 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04998/1.146, allocations: 25.93 MB / 0.8447 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001249/1.146, allocations: 163.3 kB / 0.8448 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/3.333, allocations: 0.875 kB / 0.8448 GB, free: 207.1 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/linux/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) Environment - environmentSimulation: