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.001159/0.001159, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 194 kB / 16.53 MB, free: 6.391 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.209/1.209, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6819/0.6819, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.92 kB / 0.5019 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3007, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.1875/0.4882, allocations: 204.2 MB / 0.7796 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008365/0.4966, allocations: 6.358 MB / 0.7858 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005456/0.4972, allocations: 35.81 kB / 0.7858 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.4986, allocations: 0.7304 MB / 0.7865 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004521/0.5032, allocations: 2.671 MB / 0.7891 GB, free: 10.85 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.001207/0.5044, allocations: 0.7012 MB / 0.7898 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002556/0.507, allocations: 3.274 MB / 0.793 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.5081, allocations: 1.144 MB / 0.7941 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.5093, allocations: 1.246 MB / 0.7953 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.5108, allocations: 1.102 MB / 0.7964 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.5109, allocations: 128 kB / 0.7965 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.5141, allocations: 2.358 MB / 0.7988 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004215/0.5146, allocations: 0.5104 MB / 0.7993 GB, free: 364 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006511/0.5152, allocations: 0.7391 MB / 0.8001 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002661/0.5179, allocations: 2.778 MB / 0.8028 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5179, allocations: 4 kB / 0.8028 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5179, allocations: 3.938 kB / 0.8028 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.5179, allocations: 0 / 0.8028 GB, free: 12.82 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.003338/0.5213, allocations: 1.765 MB / 0.8045 GB, free: 11 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.5213, allocations: 8.031 kB / 0.8045 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.5215, allocations: 164.6 kB / 0.8047 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.5236, allocations: 354.1 kB / 0.805 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.5247, allocations: 0.8389 MB / 0.8058 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.772e-05/0.5247, allocations: 82 kB / 0.8059 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.5249, allocations: 103.9 kB / 0.806 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.5265, allocations: 1.187 MB / 0.8072 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.5265, allocations: 0 / 0.8072 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.5266, allocations: 40 kB / 0.8072 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.685e-05/0.5267, allocations: 66 kB / 0.8073 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.5284, allocations: 1.242 MB / 0.8085 GB, free: 6.832 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.005256/0.5337, allocations: 5.114 MB / 0.8135 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.5349, allocations: 1.154 MB / 0.8146 GB, free: 24 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2008/0.7358, allocations: 0.4978 MB / 0.8151 GB, free: 221.2 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.138e-05/0.7358, allocations: 15.17 kB / 0.8151 GB, free: 221.2 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007091/0.7366, allocations: 491 kB / 0.8156 GB, free: 221 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.505e-06/0.7366, allocations: 0 / 0.8156 GB, free: 221 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.001808/0.7384, allocations: 1.158 MB / 0.8167 GB, free: 220.6 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.7384, allocations: 60 kB / 0.8168 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006257/0.7391, allocations: 0.5772 MB / 0.8173 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/0.7391, allocations: 41.42 kB / 0.8174 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.7393, allocations: 459 kB / 0.8178 GB, free: 220 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.7395, allocations: 271.2 kB / 0.8181 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.7397, allocations: 132.3 kB / 0.8182 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.119e-05/0.7398, allocations: 389.4 kB / 0.8186 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.7402, allocations: 329.8 kB / 0.8189 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004929/0.7407, allocations: 460.5 kB / 0.8193 GB, free: 219 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000985/0.7417, allocations: 0.8208 MB / 0.8201 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.7418, allocations: 1.531 kB / 0.8201 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001238/0.743, allocations: 0.9313 MB / 0.821 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.743, allocations: 6.703 kB / 0.821 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.743, allocations: 3.031 kB / 0.821 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.7431, allocations: 6.906 kB / 0.821 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000639/0.7437, allocations: 155.7 kB / 0.8212 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.7437, allocations: 11.41 kB / 0.8212 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006758/0.7444, allocations: 59.25 kB / 0.8213 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/0.7445, allocations: 28.33 kB / 0.8213 GB, free: 218.1 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.0003649/0.7448, allocations: 331.8 kB / 0.8216 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.7449, allocations: 84.23 kB / 0.8217 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.7451, allocations: 110.1 kB / 0.8218 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.7452, allocations: 7.859 kB / 0.8218 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.7452, allocations: 1 kB / 0.8218 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/0.7463, allocations: 1.092 MB / 0.8229 GB, free: 217 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.002667/0.7489, allocations: 2.308 MB / 0.8251 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.7489, allocations: 6.781 kB / 0.8251 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007872/0.7497, allocations: 177.6 kB / 0.8253 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.7497, allocations: 2.625 kB / 0.8253 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.7498, allocations: 20.64 kB / 0.8253 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.7498, allocations: 6.406 kB / 0.8253 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7498, allocations: 1.281 kB / 0.8253 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.7515, allocations: 1.482 MB / 0.8268 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.7517, allocations: 252.9 kB / 0.827 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.7518, allocations: 13.3 kB / 0.827 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/0.7524, allocations: 25.47 kB / 0.827 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.548e-05/0.7525, allocations: 46.83 kB / 0.8271 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.857e-05/0.7526, allocations: 28.97 kB / 0.8271 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004005/0.753, allocations: 410 kB / 0.8275 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.753, allocations: 9 kB / 0.8275 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007308/0.7537, allocations: 366.4 kB / 0.8279 GB, free: 214.6 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.001909/0.7556, allocations: 2.104 MB / 0.8299 GB, free: 213.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001565/0.7572, allocations: 1.039 MB / 0.8309 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7572, allocations: 1.406 kB / 0.8309 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004905/0.7577, allocations: 428.8 kB / 0.8313 GB, free: 212.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.7601, allocations: 0.5934 MB / 0.8319 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007495/0.7676, allocations: 7.447 MB / 0.8392 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.7682, allocations: 1.143 MB / 0.8403 GB, free: 208 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008917/0.7691, allocations: 273.4 kB / 0.8406 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004112/0.7695, allocations: 378.8 kB / 0.8409 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of SimCode: time 4.9e-07/0.7695, allocations: 0 / 0.8409 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03674/0.8062, allocations: 25.79 MB / 0.8661 GB, free: 185.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.489/8.296, allocations: 14.89 kB / 0.8661 GB, free: 185.8 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)