Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice") translateModel(Annex60.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008863/0.0008864, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001019/0.001019, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4848/0.4848, allocations: 55.01 MB / 325.4 MB, free: 0.6602 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005774/0.0005776, allocations: 16 kB / 396.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3603, allocations: 60.71 MB / 457.4 MB, free: 39.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.Orifice): time 0.171/0.5314, allocations: 158 MB / 0.6009 GB, free: 9.367 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003674/0.5351, allocations: 2.104 MB / 0.603 GB, free: 7.262 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004046/0.5355, allocations: 15.88 kB / 0.603 GB, free: 7.246 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007807/0.5363, allocations: 206.7 kB / 0.6032 GB, free: 7.043 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001791/0.5381, allocations: 0.639 MB / 0.6038 GB, free: 6.402 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.5402, allocations: 0.6407 MB / 0.6044 GB, free: 5.766 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001883/0.5421, allocations: 1.551 MB / 0.606 GB, free: 4.211 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000519/0.5426, allocations: 314.8 kB / 0.6063 GB, free: 3.906 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.5437, allocations: 0.572 MB / 0.6068 GB, free: 3.332 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005378/0.5443, allocations: 418.4 kB / 0.6072 GB, free: 2.922 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.142e-05/0.5443, allocations: 24 kB / 0.6072 GB, free: 2.898 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.5454, allocations: 435.9 kB / 0.6077 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.5456, allocations: 195.4 kB / 0.6078 GB, free: 2.281 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.5457, allocations: 145.4 kB / 0.608 GB, free: 2.133 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007973/0.5465, allocations: 0.7131 MB / 0.6087 GB, free: 1.418 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5465, allocations: 0 / 0.6087 GB, free: 1.418 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5465, allocations: 0 / 0.6087 GB, free: 1.418 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.5466, allocations: 4 kB / 0.6087 GB, free: 1.414 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001365/0.5479, allocations: 0.8217 MB / 0.6095 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.548, allocations: 8.031 kB / 0.6095 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.5491, allocations: 181.2 kB / 0.6097 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006049/0.5497, allocations: 418 kB / 0.6101 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.5498, allocations: 29 kB / 0.6101 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.052e-05/0.5498, allocations: 44 kB / 0.6101 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008816/0.5507, allocations: 0.5036 MB / 0.6106 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.5507, allocations: 0 / 0.6106 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/0.5508, allocations: 20 kB / 0.6106 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.5508, allocations: 19.98 kB / 0.6107 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006734/0.5515, allocations: 384.5 kB / 0.611 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.554, allocations: 1.896 MB / 0.6129 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.5544, allocations: 244 kB / 0.6131 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.5547, allocations: 125.6 kB / 0.6132 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007577/0.5555, allocations: 0.7 MB / 0.6139 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.5555, allocations: 47.19 kB / 0.614 GB, free: 11.58 MB / 494.1 MB Notification: Performance of pre-optimization done (n=26): time 1.532e-06/0.5555, allocations: 0 / 0.614 GB, free: 11.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007976/0.5563, allocations: 390.4 kB / 0.6143 GB, free: 11.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.5564, allocations: 55.34 kB / 0.6144 GB, free: 11.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005754/0.557, allocations: 0.5176 MB / 0.6149 GB, free: 10.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.557, allocations: 33.7 kB / 0.6149 GB, free: 10.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.5572, allocations: 268 kB / 0.6152 GB, free: 10.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.5573, allocations: 90.66 kB / 0.6153 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-05/0.5573, allocations: 4 kB / 0.6153 GB, free: 10.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002445/0.5576, allocations: 358.8 kB / 0.6156 GB, free: 9.836 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.5578, allocations: 112.6 kB / 0.6157 GB, free: 9.727 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.5581, allocations: 172 kB / 0.6159 GB, free: 9.535 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.5584, allocations: 128.9 kB / 0.616 GB, free: 9.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5584, allocations: 0 / 0.616 GB, free: 9.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006491/0.5591, allocations: 390.3 kB / 0.6164 GB, free: 9.027 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.5591, allocations: 4 kB / 0.6164 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5591, allocations: 0 / 0.6164 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.5591, allocations: 4 kB / 0.6164 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.5594, allocations: 76.06 kB / 0.6165 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.5594, allocations: 4 kB / 0.6165 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.5598, allocations: 63.41 kB / 0.6165 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.5598, allocations: 12 kB / 0.6165 GB, free: 8.867 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000219/0.56, allocations: 185.8 kB / 0.6167 GB, free: 8.676 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.532e-05/0.5601, allocations: 55.39 kB / 0.6168 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007497/0.5609, allocations: 339.2 kB / 0.6171 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.5609, allocations: 4.812 kB / 0.6171 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.5609, allocations: 4 kB / 0.6171 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5609, allocations: 0 / 0.6171 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.5623, allocations: 0.8961 MB / 0.618 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5623, allocations: 0 / 0.618 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.5626, allocations: 57.09 kB / 0.618 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.5626, allocations: 7.938 kB / 0.618 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.5626, allocations: 8 kB / 0.618 GB, free: 7.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.5626, allocations: 3.938 kB / 0.618 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5627, allocations: 8.188 kB / 0.6181 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008164/0.5635, allocations: 0.5661 MB / 0.6186 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.5637, allocations: 168.4 kB / 0.6188 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.942e-05/0.5638, allocations: 8 kB / 0.6188 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.5642, allocations: 39.91 kB / 0.6188 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.5642, allocations: 17.17 kB / 0.6188 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.513e-05/0.5643, allocations: 15.98 kB / 0.6188 GB, free: 6.363 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003942/0.5647, allocations: 370.8 kB / 0.6192 GB, free: 6.004 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5647, allocations: 4 kB / 0.6192 GB, free: 6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005087/0.5652, allocations: 163.9 kB / 0.6194 GB, free: 5.84 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003952/0.5656, allocations: 168.2 kB / 0.6195 GB, free: 5.672 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000637/0.5662, allocations: 263.8 kB / 0.6198 GB, free: 5.414 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.5663, allocations: 0 / 0.6198 GB, free: 5.414 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.5665, allocations: 135.8 kB / 0.6199 GB, free: 5.281 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.5679, allocations: 299.5 kB / 0.6202 GB, free: 4.996 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.5699, allocations: 1.276 MB / 0.6214 GB, free: 3.688 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.5703, allocations: 0.8606 MB / 0.6223 GB, free: 2.801 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004276/0.5708, allocations: 109.5 kB / 0.6224 GB, free: 2.695 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.5709, allocations: 39.44 kB / 0.6224 GB, free: 2.656 MB / 494.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5709, allocations: 0 / 0.6224 GB, free: 2.656 MB / 494.1 MB Notification: Performance of Templates: time 0.01647/0.5874, allocations: 9.707 MB / 0.6319 GB, free: 9.098 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.pipe 2>&1) Environment - environmentSimulation: