Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001896/0.001896, allocations: 194.7 kB / 16.26 MB, free: 6.621 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.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9169/0.9169, allocations: 135.1 MB / 425.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 57.06 kB / 0.5049 GB, free: 5.602 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1748, allocations: 80.93 MB / 0.5839 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5117/0.6866, allocations: 201.5 MB / 0.7807 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01069/0.6973, allocations: 6.32 MB / 0.7869 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.6994, allocations: 35.81 kB / 0.7869 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.7015, allocations: 0.6611 MB / 0.7876 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007142/0.7087, allocations: 2.515 MB / 0.79 GB, free: 10.05 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.001975/0.7107, allocations: 0.6525 MB / 0.7907 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004403/0.7151, allocations: 3.268 MB / 0.7938 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.7167, allocations: 1.12 MB / 0.7949 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.7196, allocations: 1.261 MB / 0.7962 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002759/0.7224, allocations: 1.172 MB / 0.7973 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002247/0.7226, allocations: 128 kB / 0.7974 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005162/0.7278, allocations: 2.462 MB / 0.7998 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007488/0.7286, allocations: 0.5143 MB / 0.8003 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.7299, allocations: 0.7391 MB / 0.8011 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005746/0.7357, allocations: 2.941 MB / 0.8039 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.7357, allocations: 0 / 0.8039 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.492e-06/0.7357, allocations: 0 / 0.8039 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.111e-05/0.7358, allocations: 4 kB / 0.8039 GB, free: 11.75 MB / 0.6231 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.004191/0.74, allocations: 1.78 MB / 0.8057 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.74, allocations: 8.031 kB / 0.8057 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/0.7422, allocations: 346.1 kB / 0.806 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.7436, allocations: 0.8389 MB / 0.8068 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.455e-05/0.7437, allocations: 82 kB / 0.8069 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.7438, allocations: 100 kB / 0.807 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.7459, allocations: 1.191 MB / 0.8082 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.7459, allocations: 3.906 kB / 0.8082 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.746, allocations: 39.98 kB / 0.8082 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.302e-05/0.7461, allocations: 58.08 kB / 0.8083 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.748, allocations: 1.242 MB / 0.8095 GB, free: 5.93 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.007562/0.7556, allocations: 5.054 MB / 0.8144 GB, free: 432 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.7572, allocations: 1.147 MB / 0.8155 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007773/0.758, allocations: 0.5065 MB / 0.816 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.334e-05/0.758, allocations: 12.8 kB / 0.816 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007884/0.7588, allocations: 488.2 kB / 0.8165 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.985e-06/0.7588, allocations: 0 / 0.8165 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.002148/0.761, allocations: 1.157 MB / 0.8176 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.7611, allocations: 64.05 kB / 0.8177 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007998/0.7619, allocations: 0.5744 MB / 0.8183 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.575e-05/0.7619, allocations: 41.7 kB / 0.8183 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/0.7623, allocations: 463.7 kB / 0.8187 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.7625, allocations: 272.1 kB / 0.819 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.7627, allocations: 134.5 kB / 0.8191 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002626/0.763, allocations: 386.8 kB / 0.8195 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/0.7635, allocations: 325.8 kB / 0.8198 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006525/0.7642, allocations: 466.4 kB / 0.8203 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.7653, allocations: 0.8194 MB / 0.8211 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.7653, allocations: 4 kB / 0.8211 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001537/0.7668, allocations: 0.9257 MB / 0.822 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.7669, allocations: 4 kB / 0.822 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.7669, allocations: 11.62 kB / 0.822 GB, free: 8.445 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.7669, allocations: 4 kB / 0.822 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/0.7676, allocations: 159.7 kB / 0.8221 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.7676, allocations: 4 kB / 0.8221 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.7687, allocations: 139.5 kB / 0.8223 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/0.7688, allocations: 32 kB / 0.8223 GB, free: 8.113 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.0005264/0.7693, allocations: 329.5 kB / 0.8226 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.7694, allocations: 83.05 kB / 0.8227 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.7697, allocations: 111.7 kB / 0.8228 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.7697, allocations: 8 kB / 0.8228 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.7698, allocations: 0 / 0.8228 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001357/0.7711, allocations: 1.089 MB / 0.8239 GB, free: 6.398 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.003567/0.7747, allocations: 2.305 MB / 0.8261 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.7747, allocations: 3.984 kB / 0.8261 GB, free: 4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008863/0.7756, allocations: 179.8 kB / 0.8263 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.7756, allocations: 4 kB / 0.8263 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.225e-05/0.7757, allocations: 12 kB / 0.8263 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.7757, allocations: 8.031 kB / 0.8263 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7757, allocations: 0 / 0.8263 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/0.7778, allocations: 1.487 MB / 0.8278 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004651/0.7783, allocations: 252 kB / 0.828 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.7784, allocations: 20 kB / 0.828 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008383/0.7793, allocations: 95.75 kB / 0.8281 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.419e-05/0.7794, allocations: 52.59 kB / 0.8282 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.424e-05/0.7794, allocations: 27.92 kB / 0.8282 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005539/0.78, allocations: 411.1 kB / 0.8286 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.78, allocations: 0 / 0.8286 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009098/0.7809, allocations: 363.1 kB / 0.8289 GB, free: 1.09 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.0002965/0.7812, allocations: 187 kB / 0.8291 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001889/0.7831, allocations: 1.036 MB / 0.8301 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.7831, allocations: 0.6875 kB / 0.8301 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005366/0.7837, allocations: 427.5 kB / 0.8305 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/0.7862, allocations: 0.5988 MB / 0.8311 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/0.7899, allocations: 2.616 MB / 0.8337 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007653/0.7906, allocations: 1.14 MB / 0.8348 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001062/0.7917, allocations: 271.2 kB / 0.8351 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.7919, allocations: 75.42 kB / 0.8351 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of SimCode: time 8.92e-07/0.7919, allocations: 4 kB / 0.8351 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.03222/0.8242, allocations: 19.05 MB / 0.8537 GB, free: 7.918 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)