Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.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.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008281/0.0008281, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.004906/0.004907, allocations: 176.2 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.299/0.299, allocations: 38.03 MB / 308.8 MB, free: 10.39 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.000532/0.000532, allocations: 16 kB / 377.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1157, allocations: 57.53 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.3817/0.4974, allocations: 178.2 MB / 0.5985 GB, free: 5.746 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005646/0.5031, allocations: 3.882 MB / 0.6022 GB, free: 1.863 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005275/0.5037, allocations: 19.81 kB / 0.6023 GB, free: 1.844 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008666/0.5045, allocations: 280.8 kB / 0.6025 GB, free: 1.57 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003582/0.5081, allocations: 1.384 MB / 0.6039 GB, free: 196 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.5105, allocations: 0.9516 MB / 0.6048 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001983/0.5125, allocations: 1.984 MB / 0.6067 GB, free: 13.26 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004685/0.513, allocations: 363.4 kB / 0.6071 GB, free: 12.91 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007318/0.5138, allocations: 0.5174 MB / 0.6076 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005444/0.5143, allocations: 477.9 kB / 0.6081 GB, free: 11.92 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.238e-05/0.5144, allocations: 24 kB / 0.6081 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.5168, allocations: 1.349 MB / 0.6094 GB, free: 10.54 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.517, allocations: 143.3 kB / 0.6095 GB, free: 10.4 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003057/0.5173, allocations: 379.8 kB / 0.6099 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.5191, allocations: 1.621 MB / 0.6115 GB, free: 8.398 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5191, allocations: 0 / 0.6115 GB, free: 8.398 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5191, allocations: 0 / 0.6115 GB, free: 8.398 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.5191, allocations: 0 / 0.6115 GB, free: 8.398 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001682/0.5208, allocations: 1.055 MB / 0.6125 GB, free: 7.285 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.5209, allocations: 12.02 kB / 0.6125 GB, free: 7.273 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.5219, allocations: 159.1 kB / 0.6127 GB, free: 7.117 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007559/0.5227, allocations: 0.5906 MB / 0.6132 GB, free: 6.484 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.5227, allocations: 33 kB / 0.6133 GB, free: 6.453 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.304e-05/0.5228, allocations: 40 kB / 0.6133 GB, free: 6.414 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008088/0.5236, allocations: 0.5984 MB / 0.6139 GB, free: 5.781 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5237, allocations: 0 / 0.6139 GB, free: 5.781 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-05/0.5237, allocations: 16 kB / 0.6139 GB, free: 5.766 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.5237, allocations: 19.98 kB / 0.6139 GB, free: 5.746 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006417/0.5244, allocations: 463.6 kB / 0.6144 GB, free: 5.289 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.002749/0.5271, allocations: 2.646 MB / 0.617 GB, free: 2.469 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/0.5276, allocations: 279 kB / 0.6172 GB, free: 2.188 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.5279, allocations: 173.1 kB / 0.6174 GB, free: 2.016 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.5289, allocations: 1.225 MB / 0.6186 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004178/0.5294, allocations: 335.2 kB / 0.6189 GB, free: 232 kB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 1.483e-06/0.5294, allocations: 3.938 kB / 0.6189 GB, free: 228 kB / 478.1 MB Notification: Performance of matching and sorting (n=35): time 0.0009917/0.5304, allocations: 0.6203 MB / 0.6195 GB, free: 15.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.5305, allocations: 294.7 kB / 0.6198 GB, free: 15.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005547/0.531, allocations: 0.5782 MB / 0.6204 GB, free: 14.65 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.5311, allocations: 29.7 kB / 0.6204 GB, free: 14.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.5313, allocations: 331.4 kB / 0.6207 GB, free: 14.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.297e-05/0.5314, allocations: 118.4 kB / 0.6208 GB, free: 14.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.616e-05/0.5315, allocations: 41.7 kB / 0.6209 GB, free: 14.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.5316, allocations: 374.7 kB / 0.6212 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.5319, allocations: 161 kB / 0.6214 GB, free: 13.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.5323, allocations: 390.6 kB / 0.6217 GB, free: 13.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/0.5329, allocations: 0.5675 MB / 0.6223 GB, free: 12.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5329, allocations: 4 kB / 0.6223 GB, free: 12.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008931/0.5338, allocations: 0.6469 MB / 0.6229 GB, free: 11.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.534, allocations: 291.2 kB / 0.6232 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.534, allocations: 4 kB / 0.6232 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.534, allocations: 8 kB / 0.6232 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003041/0.537, allocations: 411.5 kB / 0.6236 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004005/0.5374, allocations: 0.6306 MB / 0.6242 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004375/0.5379, allocations: 67.42 kB / 0.6243 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.918e-05/0.538, allocations: 55.92 kB / 0.6244 GB, free: 10.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/0.538, allocations: 4 kB / 0.6244 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007847/0.5388, allocations: 0.5528 MB / 0.6249 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5388, allocations: 8.125 kB / 0.6249 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.5388, allocations: 8 kB / 0.6249 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.5392, allocations: 124.7 kB / 0.625 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.5392, allocations: 15.92 kB / 0.625 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.5395, allocations: 63.45 kB / 0.6251 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/0.5396, allocations: 48 kB / 0.6252 GB, free: 9.402 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 7 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002907/0.5399, allocations: 314.6 kB / 0.6255 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/0.54, allocations: 71.09 kB / 0.6255 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.5415, allocations: 0.8287 MB / 0.6263 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.5416, allocations: 8 kB / 0.6263 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5416, allocations: 3.938 kB / 0.6263 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5416, allocations: 0 / 0.6263 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/0.5444, allocations: 2.952 MB / 0.6292 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5444, allocations: 7.984 kB / 0.6292 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.5455, allocations: 188 kB / 0.6294 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.5455, allocations: 0 / 0.6294 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.5456, allocations: 28.67 kB / 0.6294 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003492/0.5459, allocations: 0.6014 MB / 0.63 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5459, allocations: 4.031 kB / 0.63 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008084/0.5468, allocations: 0.6754 MB / 0.6307 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.5469, allocations: 164.1 kB / 0.6308 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.886e-05/0.547, allocations: 8 kB / 0.6309 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.5474, allocations: 35.92 kB / 0.6309 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.252e-05/0.5474, allocations: 39.94 kB / 0.6309 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/0.5475, allocations: 39.98 kB / 0.631 GB, free: 2.965 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004607/0.548, allocations: 439 kB / 0.6314 GB, free: 2.543 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.548, allocations: 0 / 0.6314 GB, free: 2.543 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001271/0.5492, allocations: 0.4997 MB / 0.6319 GB, free: 2.043 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001062/0.5503, allocations: 0.5299 MB / 0.6324 GB, free: 1.508 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005418/0.5557, allocations: 1.249 MB / 0.6336 GB, free: 240 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.5558, allocations: 1.5 kB / 0.6336 GB, free: 240 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1811/0.7369, allocations: 451.7 kB / 0.634 GB, free: 159.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.7389, allocations: 336.9 kB / 0.6344 GB, free: 159.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.7405, allocations: 1.324 MB / 0.6357 GB, free: 158.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.7408, allocations: 0.8899 MB / 0.6365 GB, free: 158 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001269/0.7421, allocations: 318.9 kB / 0.6368 GB, free: 158 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.7424, allocations: 96.56 kB / 0.6369 GB, free: 158 MB / 494.1 MB Notification: Performance of SimCode: time 1.062e-06/0.7424, allocations: 0 / 0.6369 GB, free: 158 MB / 494.1 MB Notification: Performance of Templates: time 0.02391/0.7663, allocations: 17.96 MB / 0.6545 GB, free: 156.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe 2>&1) Environment - environmentSimulation: