Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0009015/0.0009014, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009322/0.009322, allocations: 170 kB / 16.27 MB, free: 6.648 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.799/1.799, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3596/0.3596, allocations: 40 MB / 310.7 MB, free: 9.508 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.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.0006098/0.0006098, allocations: 20 kB / 379.5 MB, free: 12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.142, allocations: 57.95 MB / 437.4 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.01878/0.1608, allocations: 16.99 MB / 454.4 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2881/0.449, allocations: 4.453 MB / 458.9 MB, free: 34.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.4502, allocations: 19.75 kB / 458.9 MB, free: 34.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.4513, allocations: 247.6 kB / 459.1 MB, free: 34.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00255/0.4539, allocations: 0.6864 MB / 459.8 MB, free: 34.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003344/0.4572, allocations: 0.8663 MB / 460.7 MB, free: 34.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002981/0.4602, allocations: 1.867 MB / 462.5 MB, free: 34.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008311/0.4611, allocations: 369.1 kB / 462.9 MB, free: 34.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.4623, allocations: 0.4921 MB / 463.4 MB, free: 34.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005988/0.4629, allocations: 454 kB / 463.8 MB, free: 34.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.621e-05/0.4629, allocations: 26.03 kB / 463.9 MB, free: 34.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.4646, allocations: 0.6259 MB / 464.5 MB, free: 34.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.4648, allocations: 140.6 kB / 464.6 MB, free: 34.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004412/0.4652, allocations: 349.8 kB / 465 MB, free: 33.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.4668, allocations: 1.068 MB / 466 MB, free: 33.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4668, allocations: 0 / 466 MB, free: 33.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4668, allocations: 0 / 466 MB, free: 33.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.4668, allocations: 3.344 kB / 466 MB, free: 33.77 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.001486/0.4683, allocations: 0.8785 MB / 466.9 MB, free: 33.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.4684, allocations: 9.562 kB / 466.9 MB, free: 33.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003535/0.4687, allocations: 83.47 kB / 467 MB, free: 33.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007729/0.4695, allocations: 486.8 kB / 467.5 MB, free: 32.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-05/0.4696, allocations: 38.97 kB / 467.5 MB, free: 32.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.542e-05/0.4697, allocations: 44.69 kB / 467.6 MB, free: 32.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.4709, allocations: 0.6616 MB / 468.2 MB, free: 32.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.4709, allocations: 4.297 kB / 468.2 MB, free: 32.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.263e-05/0.471, allocations: 22.03 kB / 468.2 MB, free: 32.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.471, allocations: 12.59 kB / 468.3 MB, free: 32.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007823/0.4718, allocations: 0.5304 MB / 468.8 MB, free: 32.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/0.4754, allocations: 3.11 MB / 471.9 MB, free: 30.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.4758, allocations: 229 kB / 472.1 MB, free: 30.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.4761, allocations: 151.2 kB / 472.3 MB, free: 30.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003329/0.4764, allocations: 342.6 kB / 472.6 MB, free: 30.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004578/0.4769, allocations: 296.8 kB / 472.9 MB, free: 30.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.264e-06/0.4769, allocations: 0 / 472.9 MB, free: 30.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001086/0.478, allocations: 0.5387 MB / 473.4 MB, free: 30.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.4781, allocations: 296.8 kB / 473.7 MB, free: 29.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006683/0.4788, allocations: 0.5526 MB / 474.3 MB, free: 29.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.4788, allocations: 30.89 kB / 474.3 MB, free: 29.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.4791, allocations: 348.9 kB / 474.6 MB, free: 29.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.589e-05/0.4792, allocations: 92.36 kB / 474.7 MB, free: 29.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.4793, allocations: 46.55 kB / 474.8 MB, free: 29.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4794, allocations: 369.8 kB / 475.1 MB, free: 28.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.4797, allocations: 162.5 kB / 475.3 MB, free: 28.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/0.4801, allocations: 391.9 kB / 475.7 MB, free: 28.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007278/0.4809, allocations: 0.55 MB / 476.2 MB, free: 28.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4809, allocations: 4 kB / 476.2 MB, free: 28.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001103/0.482, allocations: 0.6465 MB / 476.9 MB, free: 28.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002153/0.4822, allocations: 272 kB / 477.2 MB, free: 27.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.4823, allocations: 8.875 kB / 477.2 MB, free: 27.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.454e-05/0.4823, allocations: 17.75 kB / 477.2 MB, free: 27.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.4838, allocations: 197 kB / 477.4 MB, free: 27.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000467/0.4843, allocations: 0.6234 MB / 478 MB, free: 27.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/0.4849, allocations: 77.11 kB / 478.1 MB, free: 27.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-05/0.485, allocations: 35.55 kB / 478.1 MB, free: 27.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.485, allocations: 2.812 kB / 478.1 MB, free: 27.31 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000901/0.4859, allocations: 0.5656 MB / 478.7 MB, free: 27.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4859, allocations: 6.125 kB / 478.7 MB, free: 27.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.4859, allocations: 10 kB / 478.7 MB, free: 27.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.4863, allocations: 123.2 kB / 478.8 MB, free: 27.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.4863, allocations: 12.7 kB / 478.8 MB, free: 27.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000395/0.4867, allocations: 58.39 kB / 478.9 MB, free: 27.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.4868, allocations: 34.59 kB / 478.9 MB, free: 27.18 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 (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 (56): * Single equations (assignments): 54 * 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.0003806/0.4872, allocations: 308.2 kB / 479.2 MB, free: 26.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.557e-05/0.4873, allocations: 62.56 kB / 479.3 MB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.4885, allocations: 0.7832 MB / 480.1 MB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.4885, allocations: 6.172 kB / 480.1 MB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4885, allocations: 1.312 kB / 480.1 MB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4885, allocations: 0 / 480.1 MB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005363/0.4891, allocations: 0.5385 MB / 480.6 MB, free: 26.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.4891, allocations: 0 / 480.6 MB, free: 26.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005836/0.4897, allocations: 128.1 kB / 480.7 MB, free: 26.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4897, allocations: 0 / 480.7 MB, free: 26.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.4897, allocations: 19.8 kB / 480.7 MB, free: 26.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002331/0.4899, allocations: 0.5901 MB / 481.3 MB, free: 25.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.49, allocations: 0 / 481.3 MB, free: 25.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006969/0.4907, allocations: 0.5582 MB / 481.9 MB, free: 25.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.4909, allocations: 218.2 kB / 482.1 MB, free: 25.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.491, allocations: 14.5 kB / 482.1 MB, free: 25.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.4913, allocations: 24.23 kB / 482.1 MB, free: 25.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.767e-05/0.4914, allocations: 31.38 kB / 482.2 MB, free: 25.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.4915, allocations: 20.84 kB / 482.2 MB, free: 25.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004824/0.4919, allocations: 417.9 kB / 482.6 MB, free: 24.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.492, allocations: 0 / 482.6 MB, free: 24.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001379/0.4933, allocations: 424.9 kB / 483 MB, free: 24.89 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 (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.0008792/0.4942, allocations: 340.1 kB / 483.4 MB, free: 24.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002308/0.4966, allocations: 0.9634 MB / 484.3 MB, free: 24.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4966, allocations: 3.312 kB / 484.3 MB, free: 24.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008605/0.4974, allocations: 392.4 kB / 484.7 MB, free: 24.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.4988, allocations: 279.2 kB / 485 MB, free: 24.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.5006, allocations: 1.346 MB / 486.3 MB, free: 23.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.5009, allocations: 0.8909 MB / 487.2 MB, free: 22.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006373/0.5015, allocations: 216.3 kB / 487.4 MB, free: 22.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.5017, allocations: 72.91 kB / 487.5 MB, free: 22.57 MB / 382.1 MB Notification: Performance of SimCode: time 1.363e-06/0.5017, allocations: 4 kB / 487.5 MB, free: 22.56 MB / 382.1 MB Notification: Performance of Templates: time 0.02953/0.5312, allocations: 14.65 MB / 0.4904 GB, free: 20.35 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe 2>&1) Environment - environmentSimulation: