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.001428/0.001428, allocations: 100.1 kB / 15.88 MB, free: 12 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.001553/0.001553, allocations: 196.7 kB / 16.79 MB, free: 6.809 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.431/1.431, allocations: 222.9 MB / 240.5 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.989/0.989, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 56.56 kB / 0.5053 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1732, allocations: 80.94 MB / 0.5843 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5312/0.7045, allocations: 201.9 MB / 0.7815 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01184/0.7164, allocations: 6.444 MB / 0.7878 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00275/0.7192, allocations: 31.81 kB / 0.7878 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.7213, allocations: 0.6415 MB / 0.7885 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007271/0.7286, allocations: 2.514 MB / 0.7909 GB, free: 9.762 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.002005/0.7306, allocations: 0.64 MB / 0.7916 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005889/0.7365, allocations: 4.832 MB / 0.7963 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.7381, allocations: 0.9631 MB / 0.7972 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002658/0.7408, allocations: 1.089 MB / 0.7983 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002688/0.7435, allocations: 1.147 MB / 0.7994 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.7437, allocations: 72 kB / 0.7995 GB, free: 1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005464/0.7491, allocations: 2.723 MB / 0.8021 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006858/0.7498, allocations: 474.7 kB / 0.8026 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.751, allocations: 0.6843 MB / 0.8032 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003077/0.7541, allocations: 2.07 MB / 0.8053 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.7541, allocations: 0 / 0.8053 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7541, allocations: 0 / 0.8053 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.7541, allocations: 0 / 0.8053 GB, free: 11.04 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.004176/0.7583, allocations: 1.768 MB / 0.807 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.7584, allocations: 8.031 kB / 0.807 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002297/0.7607, allocations: 350.1 kB / 0.8073 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.7621, allocations: 0.8467 MB / 0.8082 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.875e-05/0.7621, allocations: 74.02 kB / 0.8082 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.7623, allocations: 100 kB / 0.8083 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.7643, allocations: 1.191 MB / 0.8095 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.7643, allocations: 11.89 kB / 0.8095 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.685e-05/0.7644, allocations: 36 kB / 0.8095 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.491e-05/0.7645, allocations: 67.56 kB / 0.8096 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.7664, allocations: 1.246 MB / 0.8108 GB, free: 5.219 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.00637/0.7728, allocations: 5.042 MB / 0.8157 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.7742, allocations: 1.147 MB / 0.8169 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007126/0.7749, allocations: 0.5065 MB / 0.8174 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.742e-05/0.775, allocations: 20.64 kB / 0.8174 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007642/0.7758, allocations: 484.2 kB / 0.8178 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.936e-06/0.7758, allocations: 0 / 0.8178 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.002017/0.7778, allocations: 1.157 MB / 0.819 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.7779, allocations: 64.06 kB / 0.819 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006897/0.7786, allocations: 0.5744 MB / 0.8196 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.684e-05/0.7786, allocations: 45.64 kB / 0.8196 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/0.779, allocations: 463.7 kB / 0.8201 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.7792, allocations: 268.1 kB / 0.8203 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.7794, allocations: 130.6 kB / 0.8205 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.7796, allocations: 382.8 kB / 0.8208 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/0.7801, allocations: 329.8 kB / 0.8211 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/0.7807, allocations: 458.4 kB / 0.8216 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.7818, allocations: 0.8272 MB / 0.8224 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.7818, allocations: 0 / 0.8224 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001384/0.7832, allocations: 0.9266 MB / 0.8233 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.7832, allocations: 7.938 kB / 0.8233 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.7832, allocations: 8.906 kB / 0.8233 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.7832, allocations: 8 kB / 0.8233 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/0.7839, allocations: 155.8 kB / 0.8235 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.7839, allocations: 4 kB / 0.8235 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.785, allocations: 143.1 kB / 0.8236 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.263e-05/0.785, allocations: 28 kB / 0.8236 GB, free: 7.414 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.0005363/0.7856, allocations: 329.5 kB / 0.8239 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.7857, allocations: 83.06 kB / 0.824 GB, free: 7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.7859, allocations: 111.7 kB / 0.8241 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.7859, allocations: 12 kB / 0.8241 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.7859, allocations: 0 / 0.8241 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001256/0.7872, allocations: 1.085 MB / 0.8252 GB, free: 5.707 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.003276/0.7905, allocations: 2.308 MB / 0.8275 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.7905, allocations: 0 / 0.8275 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008835/0.7914, allocations: 183.8 kB / 0.8276 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.7914, allocations: 4 kB / 0.8276 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.183e-05/0.7915, allocations: 15.98 kB / 0.8276 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.7915, allocations: 4 kB / 0.8277 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7915, allocations: 0 / 0.8277 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.7935, allocations: 1.487 MB / 0.8291 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004599/0.7939, allocations: 256 kB / 0.8293 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.794, allocations: 16 kB / 0.8294 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007997/0.7948, allocations: 97.81 kB / 0.8295 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-05/0.7949, allocations: 44.59 kB / 0.8295 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.563e-05/0.795, allocations: 27.98 kB / 0.8295 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005096/0.7955, allocations: 411.1 kB / 0.8299 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7955, allocations: 0 / 0.8299 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009176/0.7965, allocations: 371 kB / 0.8303 GB, free: 396 kB / 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.0002873/0.7967, allocations: 175 kB / 0.8304 GB, free: 208 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.798, allocations: 0.806 MB / 0.8312 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.798, allocations: 0 / 0.8312 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005439/0.7985, allocations: 431.4 kB / 0.8316 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/0.801, allocations: 0.5573 MB / 0.8322 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.8048, allocations: 2.692 MB / 0.8348 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007319/0.8055, allocations: 1.14 MB / 0.8359 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/0.8058, allocations: 79.42 kB / 0.836 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of SimCode: time 8.12e-07/0.8058, allocations: 0 / 0.836 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of Templates: time 0.0238/0.8296, allocations: 15.94 MB / 0.8516 GB, free: 10.65 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)