Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.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.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001264/0.001264, allocations: 177.3 kB / 15.95 MB, free: 216 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.735/1.735, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.4357/0.4357, allocations: 38.03 MB / 308.4 MB, free: 10.41 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.0006438/0.000644, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1453, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.01848/0.1638, allocations: 14.63 MB / 448.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006391/0.1703, allocations: 3.813 MB / 452.4 MB, free: 3.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007367/0.171, allocations: 19.81 kB / 452.4 MB, free: 3.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008985/0.1719, allocations: 222.8 kB / 452.6 MB, free: 2.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.1738, allocations: 0.6271 MB / 453.2 MB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.1762, allocations: 0.7677 MB / 454 MB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001381/0.1776, allocations: 0.86 MB / 454.9 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005596/0.1781, allocations: 361.4 kB / 455.2 MB, free: 224 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2609/0.4391, allocations: 459.2 kB / 455.7 MB, free: 34.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007196/0.4398, allocations: 321.8 kB / 456 MB, free: 34.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.624e-05/0.4399, allocations: 24.72 kB / 456 MB, free: 34.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.4412, allocations: 0.5179 MB / 456.5 MB, free: 34.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.4414, allocations: 125.8 kB / 456.6 MB, free: 34.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.4416, allocations: 153.8 kB / 456.8 MB, free: 34.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009078/0.4425, allocations: 0.7596 MB / 457.6 MB, free: 34.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4425, allocations: 0 / 457.6 MB, free: 34.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4426, allocations: 0 / 457.6 MB, free: 34.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.4426, allocations: 0 / 457.6 MB, free: 34.21 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001262/0.4438, allocations: 0.8829 MB / 458.4 MB, free: 33.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.4439, allocations: 10.94 kB / 458.5 MB, free: 33.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003036/0.4442, allocations: 79.28 kB / 458.5 MB, free: 33.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006342/0.4449, allocations: 479.3 kB / 459 MB, free: 33.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.4449, allocations: 38.08 kB / 459 MB, free: 33.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.543e-05/0.445, allocations: 42.91 kB / 459.1 MB, free: 33.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008174/0.4458, allocations: 0.6465 MB / 459.7 MB, free: 33.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4458, allocations: 0 / 459.7 MB, free: 33.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.665e-05/0.4459, allocations: 20.06 kB / 459.7 MB, free: 33.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.4459, allocations: 20.06 kB / 459.8 MB, free: 33.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006965/0.4466, allocations: 0.5324 MB / 460.3 MB, free: 33.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/0.4497, allocations: 3.162 MB / 463.5 MB, free: 31.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004184/0.4501, allocations: 230.5 kB / 463.7 MB, free: 31.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002863/0.4504, allocations: 342.4 kB / 464 MB, free: 30.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000368/0.4508, allocations: 299 kB / 464.3 MB, free: 30.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.984e-06/0.4508, allocations: 0 / 464.3 MB, free: 30.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001031/0.4518, allocations: 0.6149 MB / 464.9 MB, free: 30.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.4519, allocations: 295.8 kB / 465.2 MB, free: 30.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005865/0.4525, allocations: 0.5529 MB / 465.8 MB, free: 30.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.4526, allocations: 32.23 kB / 465.8 MB, free: 30 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.4528, allocations: 338.3 kB / 466.1 MB, free: 29.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.791e-05/0.4529, allocations: 87.14 kB / 466.2 MB, free: 29.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.453, allocations: 9.406 kB / 466.2 MB, free: 29.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4531, allocations: 369.2 kB / 466.6 MB, free: 29.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.4533, allocations: 157.2 kB / 466.7 MB, free: 29.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.4537, allocations: 388 kB / 467.1 MB, free: 29.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.454, allocations: 238.4 kB / 467.3 MB, free: 29.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.454, allocations: 3.156 kB / 467.3 MB, free: 29.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008801/0.4549, allocations: 0.6317 MB / 468 MB, free: 29.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005271/0.4554, allocations: 2.127 MB / 470.1 MB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.4554, allocations: 6.719 kB / 470.1 MB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.4555, allocations: 10.5 kB / 470.1 MB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.4568, allocations: 197.9 kB / 470.3 MB, free: 26.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003611/0.4572, allocations: 0.623 MB / 470.9 MB, free: 26.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.4577, allocations: 76.58 kB / 471 MB, free: 26.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/0.4578, allocations: 30.27 kB / 471 MB, free: 26.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.4578, allocations: 3.219 kB / 471 MB, free: 26.21 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008091/0.4586, allocations: 0.5629 MB / 471.6 MB, free: 26.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4587, allocations: 6.906 kB / 471.6 MB, free: 26.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.4587, allocations: 9.469 kB / 471.6 MB, free: 26.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.459, allocations: 119.5 kB / 471.7 MB, free: 26.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.4591, allocations: 11.03 kB / 471.8 MB, free: 26.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/0.4595, allocations: 63.98 kB / 471.8 MB, free: 26.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/0.4596, allocations: 31.98 kB / 471.8 MB, free: 26.13 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003737/0.46, allocations: 307.2 kB / 472.1 MB, free: 25.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.873e-05/0.4601, allocations: 64.69 kB / 472.2 MB, free: 25.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.4613, allocations: 0.7822 MB / 473 MB, free: 25.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.4613, allocations: 10.64 kB / 473 MB, free: 25.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4613, allocations: 4 kB / 473 MB, free: 25.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4613, allocations: 0 / 473 MB, free: 25.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005415/0.4619, allocations: 0.5388 MB / 473.5 MB, free: 25.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4619, allocations: 0 / 473.5 MB, free: 25.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.4625, allocations: 122.9 kB / 473.7 MB, free: 25.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.4625, allocations: 7.312 kB / 473.7 MB, free: 25.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.4626, allocations: 12.98 kB / 473.7 MB, free: 25.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002286/0.4628, allocations: 0.5985 MB / 474.3 MB, free: 24.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4628, allocations: 0.875 kB / 474.3 MB, free: 24.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006634/0.4635, allocations: 0.552 MB / 474.8 MB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/0.4637, allocations: 228.3 kB / 475.1 MB, free: 24.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.501e-05/0.4638, allocations: 13.64 kB / 475.1 MB, free: 24.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.4641, allocations: 25.59 kB / 475.1 MB, free: 24.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.4642, allocations: 26.27 kB / 475.1 MB, free: 24.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.4643, allocations: 16.36 kB / 475.1 MB, free: 24.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003966/0.4647, allocations: 408.5 kB / 475.5 MB, free: 24.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4647, allocations: 7.281 kB / 475.5 MB, free: 24.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001214/0.4659, allocations: 421.5 kB / 476 MB, free: 24.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007256/0.4666, allocations: 338.6 kB / 476.3 MB, free: 24.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002515/0.4691, allocations: 0.9634 MB / 477.3 MB, free: 24.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.4692, allocations: 4.25 kB / 477.3 MB, free: 24.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008766/0.47, allocations: 386.4 kB / 477.6 MB, free: 24.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.4713, allocations: 257.7 kB / 477.9 MB, free: 24.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.4731, allocations: 1.279 MB / 479.2 MB, free: 23.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.4734, allocations: 0.9062 MB / 480.1 MB, free: 22.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006235/0.474, allocations: 208.2 kB / 480.3 MB, free: 22.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.4741, allocations: 70.2 kB / 480.3 MB, free: 22.78 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4742, allocations: 0 / 480.3 MB, free: 22.78 MB / 382.1 MB Notification: Performance of Templates: time 0.02639/0.5005, allocations: 14.19 MB / 494.5 MB, free: 21.49 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe 2>&1) Environment - environmentSimulation: