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.001258/0.001258, allocations: 104.6 kB / 16.41 MB, free: 6.488 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.001292/0.001292, allocations: 183 kB / 17.34 MB, free: 5.734 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.851/0.851, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 64.12 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1592, allocations: 80.92 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.614/0.7732, allocations: 204.2 MB / 0.8647 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.7835, allocations: 6.361 MB / 0.8709 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.7853, allocations: 35.81 kB / 0.8709 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002162/0.7875, allocations: 0.7304 MB / 0.8716 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0072/0.7948, allocations: 2.668 MB / 0.8742 GB, free: 9.141 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.002088/0.7969, allocations: 0.7128 MB / 0.8749 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004543/0.8014, allocations: 3.265 MB / 0.8781 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.8031, allocations: 1.151 MB / 0.8792 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.8057, allocations: 1.269 MB / 0.8805 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002438/0.8082, allocations: 1.092 MB / 0.8815 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002505/0.8084, allocations: 132 kB / 0.8817 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004733/0.8132, allocations: 2.35 MB / 0.884 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006/0.8138, allocations: 0.5182 MB / 0.8845 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.8148, allocations: 0.7391 MB / 0.8852 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004635/0.8195, allocations: 2.797 MB / 0.8879 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.8195, allocations: 4 kB / 0.8879 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8195, allocations: 0 / 0.8879 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.938e-05/0.8195, allocations: 0 / 0.8879 GB, free: 11.07 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.004035/0.8236, allocations: 1.769 MB / 0.8897 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.8236, allocations: 13.11 kB / 0.8897 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.8258, allocations: 342.2 kB / 0.89 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.8272, allocations: 0.8779 MB / 0.8908 GB, free: 7.973 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.796e-05/0.8273, allocations: 78 kB / 0.8909 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.8274, allocations: 104 kB / 0.891 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.8294, allocations: 1.195 MB / 0.8922 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.8294, allocations: 2.5 kB / 0.8922 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.8295, allocations: 40 kB / 0.8922 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.858e-05/0.8296, allocations: 58.08 kB / 0.8923 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.8314, allocations: 1.246 MB / 0.8935 GB, free: 5.215 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.006192/0.8376, allocations: 5.085 MB / 0.8985 GB, free: 15.67 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.839, allocations: 1.15 MB / 0.8996 GB, free: 14.44 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006937/0.8397, allocations: 0.5011 MB / 0.9001 GB, free: 13.94 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 5.356e-05/0.8398, allocations: 16.64 kB / 0.9001 GB, free: 13.92 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007187/0.8405, allocations: 484.2 kB / 0.9006 GB, free: 13.44 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 3.887e-06/0.8405, allocations: 0 / 0.9006 GB, free: 13.44 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.001981/0.8425, allocations: 1.161 MB / 0.9017 GB, free: 12.27 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.8426, allocations: 60.06 kB / 0.9017 GB, free: 12.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00069/0.8433, allocations: 0.5744 MB / 0.9023 GB, free: 11.61 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.723e-05/0.8433, allocations: 45.64 kB / 0.9024 GB, free: 11.56 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.8437, allocations: 463.7 kB / 0.9028 GB, free: 11.11 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002852/0.844, allocations: 268.1 kB / 0.903 GB, free: 10.84 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.8442, allocations: 130.7 kB / 0.9032 GB, free: 10.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.8444, allocations: 390.8 kB / 0.9035 GB, free: 10.31 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/0.8448, allocations: 325.8 kB / 0.9039 GB, free: 9.996 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.8454, allocations: 462.5 kB / 0.9043 GB, free: 9.504 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.8465, allocations: 0.8194 MB / 0.9051 GB, free: 8.645 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.8465, allocations: 0 / 0.9051 GB, free: 8.645 MB / 0.67 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001391/0.8479, allocations: 0.9298 MB / 0.906 GB, free: 7.707 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.8479, allocations: 11.94 kB / 0.906 GB, free: 7.695 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.848, allocations: 0 / 0.906 GB, free: 7.695 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.848, allocations: 8 kB / 0.906 GB, free: 7.688 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006909/0.8487, allocations: 151.8 kB / 0.9062 GB, free: 7.539 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.8487, allocations: 8 kB / 0.9062 GB, free: 7.531 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007979/0.8495, allocations: 69.94 kB / 0.9062 GB, free: 7.465 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/0.8496, allocations: 28 kB / 0.9063 GB, free: 7.438 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.0005339/0.8501, allocations: 329.8 kB / 0.9066 GB, free: 7.105 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.8502, allocations: 83 kB / 0.9067 GB, free: 7.023 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.8505, allocations: 112.6 kB / 0.9068 GB, free: 6.906 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.8505, allocations: 11.94 kB / 0.9068 GB, free: 6.895 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.8505, allocations: 0 / 0.9068 GB, free: 6.895 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00122/0.8518, allocations: 1.089 MB / 0.9078 GB, free: 5.719 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.003045/0.8548, allocations: 2.307 MB / 0.9101 GB, free: 3.328 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.8549, allocations: 4.031 kB / 0.9101 GB, free: 3.324 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008534/0.8557, allocations: 180.7 kB / 0.9103 GB, free: 3.148 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/0.8557, allocations: 4 kB / 0.9103 GB, free: 3.145 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.862e-05/0.8558, allocations: 15.98 kB / 0.9103 GB, free: 3.129 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.8558, allocations: 4 kB / 0.9103 GB, free: 3.125 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8558, allocations: 0 / 0.9103 GB, free: 3.125 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.8577, allocations: 1.488 MB / 0.9118 GB, free: 1.613 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003937/0.8581, allocations: 252 kB / 0.912 GB, free: 1.348 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.8583, allocations: 16.88 kB / 0.912 GB, free: 1.332 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006166/0.8589, allocations: 22.39 kB / 0.912 GB, free: 1.312 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.426e-05/0.859, allocations: 52.53 kB / 0.9121 GB, free: 1.262 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.685e-05/0.859, allocations: 23.98 kB / 0.9121 GB, free: 1.238 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004929/0.8595, allocations: 415 kB / 0.9125 GB, free: 0.8398 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8596, allocations: 4 kB / 0.9125 GB, free: 0.8359 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008996/0.8605, allocations: 371 kB / 0.9129 GB, free: 484 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.0003156/0.8608, allocations: 176.4 kB / 0.913 GB, free: 300 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.862, allocations: 0.8058 MB / 0.9138 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8621, allocations: 0 / 0.9138 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005555/0.8626, allocations: 427.5 kB / 0.9142 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/0.8653, allocations: 0.5885 MB / 0.9148 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.869, allocations: 2.228 MB / 0.917 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008786/0.8699, allocations: 1.139 MB / 0.9181 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/0.8703, allocations: 83.42 kB / 0.9182 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of SimCode: time 1.192e-06/0.8703, allocations: 0 / 0.9182 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of Templates: time 0.02684/0.8972, allocations: 16.06 MB / 0.9338 GB, free: 11.02 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)