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.001929/0.001929, allocations: 110.4 kB / 15.99 MB, free: 5.891 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.002064/0.002064, allocations: 195.7 kB / 16.91 MB, free: 5.746 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9053/0.9053, allocations: 135.2 MB / 425.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 68.88 kB / 0.5055 GB, free: 5.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1494, allocations: 80.93 MB / 0.5846 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.4207/0.5702, allocations: 201.6 MB / 0.7814 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009804/0.58, allocations: 6.326 MB / 0.7876 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.5814, allocations: 31.81 kB / 0.7876 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.5834, allocations: 0.6611 MB / 0.7883 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006198/0.5896, allocations: 2.514 MB / 0.7907 GB, free: 10.1 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.001757/0.5914, allocations: 0.6424 MB / 0.7913 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004098/0.5955, allocations: 3.274 MB / 0.7945 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.5971, allocations: 1.118 MB / 0.7956 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002292/0.5994, allocations: 1.257 MB / 0.7969 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002461/0.6019, allocations: 1.168 MB / 0.798 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003459/0.6023, allocations: 132 kB / 0.7981 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004605/0.6069, allocations: 2.474 MB / 0.8005 GB, free: 4 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007346/0.6076, allocations: 0.5106 MB / 0.801 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.609, allocations: 0.743 MB / 0.8018 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003176/0.6122, allocations: 2.085 MB / 0.8038 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6122, allocations: 0 / 0.8038 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6122, allocations: 0 / 0.8038 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.268e-05/0.6123, allocations: 0 / 0.8038 GB, free: 12.66 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.004875/0.6171, allocations: 1.769 MB / 0.8055 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.6172, allocations: 12.03 kB / 0.8055 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002358/0.6196, allocations: 354.1 kB / 0.8059 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.6211, allocations: 0.8427 MB / 0.8067 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.116e-05/0.6212, allocations: 74.02 kB / 0.8068 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.6214, allocations: 100 kB / 0.8069 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.6235, allocations: 1.195 MB / 0.808 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.6236, allocations: 3.906 kB / 0.808 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.6237, allocations: 40 kB / 0.8081 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.598e-05/0.6238, allocations: 66.05 kB / 0.8081 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.6258, allocations: 1.242 MB / 0.8093 GB, free: 6.828 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.006698/0.6325, allocations: 5.046 MB / 0.8143 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.634, allocations: 1.153 MB / 0.8154 GB, free: 100 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007536/0.6348, allocations: 0.5053 MB / 0.8159 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.065e-05/0.6349, allocations: 16.64 kB / 0.8159 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007615/0.6356, allocations: 484.1 kB / 0.8164 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.655e-06/0.6356, allocations: 0 / 0.8164 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.002026/0.6377, allocations: 1.165 MB / 0.8175 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.6377, allocations: 60.06 kB / 0.8176 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007651/0.6385, allocations: 0.5744 MB / 0.8181 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.393e-05/0.6386, allocations: 41.7 kB / 0.8182 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.639, allocations: 463.7 kB / 0.8186 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.6392, allocations: 268.1 kB / 0.8189 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.6395, allocations: 134.6 kB / 0.819 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.6397, allocations: 382.8 kB / 0.8194 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000507/0.6402, allocations: 333.8 kB / 0.8197 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006067/0.6408, allocations: 455.5 kB / 0.8201 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.642, allocations: 0.8272 MB / 0.8209 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.642, allocations: 0 / 0.8209 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001478/0.6435, allocations: 0.926 MB / 0.8218 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.6435, allocations: 4 kB / 0.8218 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.6435, allocations: 11.92 kB / 0.8218 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.6436, allocations: 4 kB / 0.8218 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006623/0.6442, allocations: 159.8 kB / 0.822 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.6443, allocations: 4 kB / 0.822 GB, free: 9.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009852/0.6453, allocations: 140.8 kB / 0.8221 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/0.6453, allocations: 24 kB / 0.8222 GB, free: 9.023 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.0004909/0.6458, allocations: 331.1 kB / 0.8225 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.646, allocations: 87.06 kB / 0.8226 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.6463, allocations: 111.7 kB / 0.8227 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.6463, allocations: 8 kB / 0.8227 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.6463, allocations: 0 / 0.8227 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001292/0.6476, allocations: 1.081 MB / 0.8237 GB, free: 7.312 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.003475/0.6511, allocations: 2.312 MB / 0.826 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.6511, allocations: 0 / 0.826 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008366/0.6519, allocations: 179.8 kB / 0.8262 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.6519, allocations: 4 kB / 0.8262 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.266e-05/0.652, allocations: 15.98 kB / 0.8262 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.652, allocations: 4.75 kB / 0.8262 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.652, allocations: 0 / 0.8262 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/0.6541, allocations: 1.491 MB / 0.8276 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004728/0.6546, allocations: 248 kB / 0.8279 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.6547, allocations: 23.98 kB / 0.8279 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008718/0.6556, allocations: 95.52 kB / 0.828 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.6557, allocations: 48.59 kB / 0.828 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/0.6557, allocations: 23.98 kB / 0.8281 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005101/0.6563, allocations: 415 kB / 0.8285 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6563, allocations: 7.938 kB / 0.8285 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009142/0.6572, allocations: 367.1 kB / 0.8288 GB, free: 1.992 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.0003017/0.6575, allocations: 183.6 kB / 0.829 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.6593, allocations: 1.032 MB / 0.83 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.6594, allocations: 0 / 0.83 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005743/0.6599, allocations: 427.5 kB / 0.8304 GB, free: 360 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/0.6624, allocations: 0.5942 MB / 0.831 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/0.6662, allocations: 2.687 MB / 0.8336 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008119/0.667, allocations: 1.14 MB / 0.8347 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.6673, allocations: 79.44 kB / 0.8348 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of SimCode: time 2.7e-07/0.6673, allocations: 0 / 0.8348 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of Templates: time 0.02258/0.6899, allocations: 15.94 MB / 0.8504 GB, free: 12 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)