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.008222/0.008222, allocations: 99.95 kB / 15.73 MB, free: 6.059 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.001407/0.001407, allocations: 188.7 kB / 16.67 MB, free: 5.973 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8612/0.8612, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 58.25 kB / 0.5856 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1835, allocations: 80.92 MB / 0.6646 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5924/0.776, allocations: 204.2 MB / 0.864 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.7861, allocations: 6.37 MB / 0.8702 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.788, allocations: 35.81 kB / 0.8702 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.79, allocations: 0.7304 MB / 0.871 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007793/0.7978, allocations: 2.676 MB / 0.8736 GB, free: 9.211 MB / 0.6387 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.002488/0.8003, allocations: 0.6971 MB / 0.8743 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004876/0.8052, allocations: 3.273 MB / 0.8774 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.8068, allocations: 1.151 MB / 0.8786 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.809, allocations: 1.249 MB / 0.8798 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.811, allocations: 1.088 MB / 0.8809 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002054/0.8112, allocations: 128 kB / 0.881 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004692/0.8159, allocations: 2.362 MB / 0.8833 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005377/0.8165, allocations: 0.5105 MB / 0.8838 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008531/0.8173, allocations: 0.7391 MB / 0.8845 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004341/0.8217, allocations: 2.811 MB / 0.8872 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.8217, allocations: 4 kB / 0.8873 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8217, allocations: 0 / 0.8873 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.44e-05/0.8218, allocations: 3.938 kB / 0.8873 GB, free: 11.15 MB / 0.6544 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.004161/0.8259, allocations: 1.805 MB / 0.889 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.826, allocations: 13.11 kB / 0.889 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.8282, allocations: 354.8 kB / 0.8894 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.8296, allocations: 0.8785 MB / 0.8902 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.929e-05/0.8296, allocations: 74.02 kB / 0.8903 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.8298, allocations: 99.98 kB / 0.8904 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.8317, allocations: 1.195 MB / 0.8916 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.8317, allocations: 4.875 kB / 0.8916 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.8319, allocations: 43.98 kB / 0.8916 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-05/0.8319, allocations: 62.02 kB / 0.8917 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.8338, allocations: 1.242 MB / 0.8929 GB, free: 5.25 MB / 0.6544 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.006221/0.84, allocations: 5.09 MB / 0.8979 GB, free: 15.71 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.8415, allocations: 1.146 MB / 0.899 GB, free: 14.48 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007114/0.8422, allocations: 0.505 MB / 0.8995 GB, free: 13.97 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 5.959e-05/0.8423, allocations: 24.78 kB / 0.8995 GB, free: 13.95 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007321/0.843, allocations: 485.7 kB / 0.8999 GB, free: 13.46 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 2.013e-06/0.843, allocations: 0 / 0.8999 GB, free: 13.46 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.001927/0.8449, allocations: 1.169 MB / 0.9011 GB, free: 12.29 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.845, allocations: 56.06 kB / 0.9011 GB, free: 12.22 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006635/0.8457, allocations: 0.5784 MB / 0.9017 GB, free: 11.63 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.602e-05/0.8457, allocations: 41.64 kB / 0.9017 GB, free: 11.59 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.846, allocations: 468.7 kB / 0.9022 GB, free: 11.12 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.8463, allocations: 285.5 kB / 0.9025 GB, free: 10.84 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.8465, allocations: 134.7 kB / 0.9026 GB, free: 10.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.8467, allocations: 378.8 kB / 0.903 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004684/0.8471, allocations: 329.8 kB / 0.9033 GB, free: 10 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/0.8477, allocations: 462.5 kB / 0.9037 GB, free: 9.508 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.8488, allocations: 0.8272 MB / 0.9045 GB, free: 8.641 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.8488, allocations: 0 / 0.9045 GB, free: 8.641 MB / 0.67 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001293/0.8501, allocations: 0.9339 MB / 0.9054 GB, free: 7.699 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.8501, allocations: 7.938 kB / 0.9054 GB, free: 7.691 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.8502, allocations: 4 kB / 0.9054 GB, free: 7.688 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.8502, allocations: 8.344 kB / 0.9055 GB, free: 7.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006323/0.8508, allocations: 151.8 kB / 0.9056 GB, free: 7.531 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/0.8509, allocations: 13.73 kB / 0.9056 GB, free: 7.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007444/0.8516, allocations: 63.5 kB / 0.9057 GB, free: 7.457 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/0.8517, allocations: 25.12 kB / 0.9057 GB, free: 7.434 MB / 0.67 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.0005442/0.8522, allocations: 333.6 kB / 0.906 GB, free: 7.098 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.8524, allocations: 87.42 kB / 0.9061 GB, free: 7.012 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.8526, allocations: 107.7 kB / 0.9062 GB, free: 6.898 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.8526, allocations: 8 kB / 0.9062 GB, free: 6.891 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.8527, allocations: 4 kB / 0.9062 GB, free: 6.887 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001291/0.854, allocations: 1.093 MB / 0.9073 GB, free: 5.707 MB / 0.67 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.003106/0.8571, allocations: 2.307 MB / 0.9095 GB, free: 3.316 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.8571, allocations: 0 / 0.9095 GB, free: 3.316 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008154/0.8579, allocations: 179.8 kB / 0.9097 GB, free: 3.141 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.8579, allocations: 4.031 kB / 0.9097 GB, free: 3.137 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.858, allocations: 24.86 kB / 0.9097 GB, free: 3.113 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.858, allocations: 4 kB / 0.9097 GB, free: 3.109 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.858, allocations: 0 / 0.9097 GB, free: 3.109 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.86, allocations: 1.492 MB / 0.9112 GB, free: 1.594 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.8603, allocations: 248.5 kB / 0.9114 GB, free: 1.332 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.8604, allocations: 16.11 kB / 0.9114 GB, free: 1.316 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005617/0.861, allocations: 30.41 kB / 0.9115 GB, free: 1.289 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.121e-05/0.8611, allocations: 40.59 kB / 0.9115 GB, free: 1.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-05/0.8611, allocations: 27.98 kB / 0.9115 GB, free: 1.223 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004591/0.8616, allocations: 415 kB / 0.9119 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.8616, allocations: 0 / 0.9119 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008276/0.8624, allocations: 379.2 kB / 0.9123 GB, free: 464 kB / 0.67 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.0002711/0.8627, allocations: 176.4 kB / 0.9125 GB, free: 280 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.8639, allocations: 0.7986 MB / 0.9132 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8639, allocations: 4.062 kB / 0.9132 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005963/0.8645, allocations: 431.5 kB / 0.9137 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.8669, allocations: 0.5908 MB / 0.9142 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.8699, allocations: 2.173 MB / 0.9164 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007026/0.8706, allocations: 1.143 MB / 0.9175 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007704/0.8714, allocations: 271.1 kB / 0.9177 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.8717, allocations: 75.44 kB / 0.9178 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of SimCode: time 4.21e-07/0.8717, allocations: 0 / 0.9178 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of Templates: time 0.02948/0.9011, allocations: 19.34 MB / 0.9367 GB, free: 7.613 MB / 0.7012 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)