Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/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(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007161/0.0007161, allocations: 86.25 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.000749/0.000749, 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.237/1.237, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2782/0.2782, allocations: 38.03 MB / 308.4 MB, free: 10.42 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: ModelicaTest requested package Modelica of version 3.2.1. 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.0005005/0.0005005, allocations: 20 kB / 376.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09495/0.09546, allocations: 57.52 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3422/0.4377, allocations: 173.2 MB / 0.5929 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006747/0.4445, allocations: 5.399 MB / 0.5982 GB, free: 5.891 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003584/0.4449, allocations: 23.81 kB / 0.5982 GB, free: 5.867 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006781/0.4456, allocations: 242.4 kB / 0.5985 GB, free: 5.629 MB / 462.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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789: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:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003131/0.4487, allocations: 1.385 MB / 0.5998 GB, free: 4.246 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.45, allocations: 0.5768 MB / 0.6004 GB, free: 3.676 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.4517, allocations: 1.743 MB / 0.6021 GB, free: 1.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000429/0.4521, allocations: 340.6 kB / 0.6024 GB, free: 1.598 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006211/0.4528, allocations: 0.5175 MB / 0.6029 GB, free: 1.078 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004674/0.4532, allocations: 446.2 kB / 0.6033 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.937e-05/0.4533, allocations: 28 kB / 0.6034 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.4552, allocations: 1.174 MB / 0.6045 GB, free: 15.44 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.4554, allocations: 131.5 kB / 0.6046 GB, free: 15.31 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.4555, allocations: 153.3 kB / 0.6048 GB, free: 15.15 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.4566, allocations: 1.107 MB / 0.6059 GB, free: 14.04 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.4566, allocations: 4 kB / 0.6059 GB, free: 14.04 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4566, allocations: 3.938 kB / 0.6059 GB, free: 14.04 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.4567, allocations: 0 / 0.6059 GB, free: 14.04 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001433/0.4581, allocations: 0.9558 MB / 0.6068 GB, free: 13.03 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.4581, allocations: 8.031 kB / 0.6068 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008791/0.459, allocations: 143.2 kB / 0.607 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.4596, allocations: 468.8 kB / 0.6074 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.4596, allocations: 29 kB / 0.6074 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/0.4597, allocations: 40 kB / 0.6075 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000938/0.4606, allocations: 0.5945 MB / 0.608 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4607, allocations: 8 kB / 0.6081 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.03e-05/0.4607, allocations: 16 kB / 0.6081 GB, free: 11.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.4607, allocations: 15.95 kB / 0.6081 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008342/0.4616, allocations: 487.6 kB / 0.6086 GB, free: 11.16 MB / 478.1 MB 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.002537/0.4641, allocations: 2.682 MB / 0.6112 GB, free: 8.262 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000634/0.4648, allocations: 355.5 kB / 0.6115 GB, free: 7.906 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.4651, allocations: 177.3 kB / 0.6117 GB, free: 7.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.4662, allocations: 1.315 MB / 0.613 GB, free: 6.195 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.4663, allocations: 38.84 kB / 0.613 GB, free: 6.148 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.4663, allocations: 0 / 0.613 GB, free: 6.148 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.001534/0.4678, allocations: 0.7415 MB / 0.6137 GB, free: 5.379 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.4679, allocations: 140.5 kB / 0.6139 GB, free: 5.211 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/0.4684, allocations: 490 kB / 0.6143 GB, free: 4.723 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.4684, allocations: 33.64 kB / 0.6144 GB, free: 4.684 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.4687, allocations: 287.9 kB / 0.6146 GB, free: 4.398 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.4688, allocations: 110.2 kB / 0.6147 GB, free: 4.289 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.4688, allocations: 12 kB / 0.6148 GB, free: 4.277 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.469, allocations: 362.8 kB / 0.6151 GB, free: 3.914 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.4693, allocations: 152.8 kB / 0.6152 GB, free: 3.762 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/0.4697, allocations: 295.6 kB / 0.6155 GB, free: 3.422 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.47, allocations: 185 kB / 0.6157 GB, free: 3.242 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.47, allocations: 4 kB / 0.6157 GB, free: 3.238 MB / 478.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009488/0.471, allocations: 0.5521 MB / 0.6162 GB, free: 2.676 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.471, allocations: 8 kB / 0.6163 GB, free: 2.668 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.471, allocations: 4 kB / 0.6163 GB, free: 2.664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/0.4725, allocations: 292.8 kB / 0.6165 GB, free: 2.375 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.4728, allocations: 99.89 kB / 0.6166 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004767/0.4733, allocations: 0.6021 MB / 0.6172 GB, free: 1.652 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.4736, allocations: 67.48 kB / 0.6173 GB, free: 1.586 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-05/0.4737, allocations: 47.98 kB / 0.6173 GB, free: 1.539 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002254/0.4739, allocations: 178.7 kB / 0.6175 GB, free: 1.355 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.685e-05/0.474, allocations: 55.39 kB / 0.6176 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.4756, allocations: 0.7472 MB / 0.6183 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.4756, allocations: 4 kB / 0.6183 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4756, allocations: 0 / 0.6183 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4756, allocations: 3.984 kB / 0.6183 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.477, allocations: 1.038 MB / 0.6193 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.477, allocations: 0 / 0.6193 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.4772, allocations: 60.12 kB / 0.6194 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002907/0.4801, allocations: 0.5353 MB / 0.6199 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.4801, allocations: 12 kB / 0.6199 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004072/0.4806, allocations: 0.6109 MB / 0.6205 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4806, allocations: 0 / 0.6205 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007115/0.4813, allocations: 0.5194 MB / 0.621 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.4814, allocations: 168.3 kB / 0.6212 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.872e-05/0.4815, allocations: 4 kB / 0.6212 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.4819, allocations: 39.88 kB / 0.6212 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.4819, allocations: 30.61 kB / 0.6212 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.482, allocations: 16 kB / 0.6212 GB, free: 13.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004147/0.4824, allocations: 394.7 kB / 0.6216 GB, free: 12.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4824, allocations: 3.938 kB / 0.6216 GB, free: 12.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000824/0.4832, allocations: 327.7 kB / 0.6219 GB, free: 12.64 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (27): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008611/0.4841, allocations: 441.7 kB / 0.6224 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007248/0.4848, allocations: 390.9 kB / 0.6227 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4848, allocations: 0 / 0.6227 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003425/0.4852, allocations: 163.8 kB / 0.6229 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.4865, allocations: 278.3 kB / 0.6232 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.4877, allocations: 1.083 MB / 0.6242 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.4881, allocations: 0.8633 MB / 0.6251 GB, free: 9.395 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007475/0.4889, allocations: 199.4 kB / 0.6252 GB, free: 9.199 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.4891, allocations: 71.42 kB / 0.6253 GB, free: 9.129 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4891, allocations: 0 / 0.6253 GB, free: 9.129 MB / 494.1 MB Notification: Performance of Templates: time 0.189/0.6781, allocations: 14.65 MB / 0.6396 GB, free: 157.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) Environment - environmentSimulation: