Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 182.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7276/0.7276, allocations: 132.2 MB / 148.9 MB, free: 12.12 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 222.9 MB / 403.3 MB, free: 7.102 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 101.6 kB / 484.3 MB, free: 8.738 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 51.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1266, allocations: 80.21 MB / 0.6402 GB, free: 6.801 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.4651/0.5917, allocations: 201.9 MB / 0.8374 GB, free: 9.195 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.00956/0.6013, allocations: 6.444 MB / 0.8437 GB, free: 2.734 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.6024, allocations: 35.81 kB / 0.8437 GB, free: 2.699 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.604, allocations: 0.6376 MB / 0.8443 GB, free: 2.059 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00543/0.6095, allocations: 2.519 MB / 0.8468 GB, free: 15.53 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001984/0.6115, allocations: 0.6347 MB / 0.8474 GB, free: 14.9 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.005474/0.617, allocations: 4.844 MB / 0.8521 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.6184, allocations: 0.9593 MB / 0.8531 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.6206, allocations: 1.089 MB / 0.8541 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002388/0.623, allocations: 1.151 MB / 0.8553 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001625/0.6232, allocations: 72 kB / 0.8553 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004757/0.628, allocations: 2.727 MB / 0.858 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000562/0.6285, allocations: 470.7 kB / 0.8584 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0009016/0.6294, allocations: 0.6844 MB / 0.8591 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.004579/0.634, allocations: 2.894 MB / 0.8619 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.6341, allocations: 0 / 0.8619 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6341, allocations: 4 kB / 0.8619 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.6341, allocations: 0 / 0.8619 GB, free: 15.97 MB / 0.6042 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.003816/0.6379, allocations: 1.765 MB / 0.8637 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.638, allocations: 8.031 kB / 0.8637 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.64, allocations: 350.1 kB / 0.864 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.6414, allocations: 0.8506 MB / 0.8648 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/0.6415, allocations: 70.02 kB / 0.8649 GB, free: 12.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.6417, allocations: 107.9 kB / 0.865 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.6435, allocations: 1.191 MB / 0.8662 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.6435, allocations: 0 / 0.8662 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.777e-05/0.6436, allocations: 47.97 kB / 0.8662 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.041e-05/0.6437, allocations: 62.06 kB / 0.8663 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.6456, allocations: 1.242 MB / 0.8675 GB, free: 10.14 MB / 0.6042 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.006396/0.652, allocations: 5.042 MB / 0.8724 GB, free: 4.641 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.6534, allocations: 1.152 MB / 0.8735 GB, free: 3.406 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007306/0.6541, allocations: 0.5012 MB / 0.874 GB, free: 2.906 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.747e-05/0.6542, allocations: 16.78 kB / 0.874 GB, free: 2.891 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000714/0.6549, allocations: 496 kB / 0.8745 GB, free: 2.391 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=76): time 3.627e-06/0.6549, allocations: 0 / 0.8745 GB, free: 2.391 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76): time 0.001937/0.6569, allocations: 1.153 MB / 0.8756 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.657, allocations: 64 kB / 0.8757 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006813/0.6576, allocations: 0.5744 MB / 0.8763 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.454e-05/0.6577, allocations: 41.7 kB / 0.8763 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.658, allocations: 467.7 kB / 0.8767 GB, free: 60 kB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/0.6583, allocations: 268.2 kB / 0.877 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.6585, allocations: 126.6 kB / 0.8771 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.6587, allocations: 386.8 kB / 0.8775 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000458/0.6591, allocations: 333.8 kB / 0.8778 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.6597, allocations: 454.5 kB / 0.8782 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.6607, allocations: 0.8272 MB / 0.879 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.6607, allocations: 0 / 0.879 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001314/0.6621, allocations: 0.9257 MB / 0.8799 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.6621, allocations: 5.25 kB / 0.88 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.6621, allocations: 7.938 kB / 0.88 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.6621, allocations: 4 kB / 0.88 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006608/0.6628, allocations: 159.8 kB / 0.8801 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.6628, allocations: 8.281 kB / 0.8801 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.6639, allocations: 143.2 kB / 0.8803 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.6639, allocations: 24 kB / 0.8803 GB, free: 12.32 MB / 0.6198 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.0005674/0.6645, allocations: 326.9 kB / 0.8806 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.6646, allocations: 87 kB / 0.8807 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.6649, allocations: 111.7 kB / 0.8808 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.6649, allocations: 8 kB / 0.8808 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.6649, allocations: 0 / 0.8808 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001237/0.6662, allocations: 1.085 MB / 0.8819 GB, free: 10.61 MB / 0.6198 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.003251/0.6694, allocations: 2.316 MB / 0.8841 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6694, allocations: 0 / 0.8841 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008267/0.6703, allocations: 175.8 kB / 0.8843 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.6703, allocations: 4 kB / 0.8843 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.6704, allocations: 28.02 kB / 0.8843 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.6704, allocations: 4 kB / 0.8843 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6704, allocations: 0 / 0.8843 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008995/0.6794, allocations: 5.965 MB / 0.8901 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000424/0.6798, allocations: 244 kB / 0.8904 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.6799, allocations: 23.92 kB / 0.8904 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008065/0.6808, allocations: 99.77 kB / 0.8905 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.08e-05/0.6809, allocations: 40.59 kB / 0.8905 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.914e-05/0.6809, allocations: 31.98 kB / 0.8906 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004558/0.6814, allocations: 419 kB / 0.891 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6814, allocations: 0 / 0.891 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002236/0.6836, allocations: 0.5302 MB / 0.8915 GB, free: 500 kB / 0.6198 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.0003369/0.684, allocations: 167.1 kB / 0.8916 GB, free: 320 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.6854, allocations: 0.798 MB / 0.8924 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.6854, allocations: 0 / 0.8924 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005659/0.686, allocations: 428.2 kB / 0.8928 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.6886, allocations: 0.5722 MB / 0.8934 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/0.6926, allocations: 3.076 MB / 0.8964 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.6937, allocations: 1.16 MB / 0.8975 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001205/0.6949, allocations: 284.8 kB / 0.8978 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003398/0.6953, allocations: 75.44 kB / 0.8979 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of SimCode: time 1.393e-06/0.6953, allocations: 0 / 0.8979 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of Templates: time 0.03279/0.7281, allocations: 20.49 MB / 0.9179 GB, free: 5.574 MB / 0.6511 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)