Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.003349/0.003349, allocations: 195 kB / 16.14 MB, free: 6.66 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.665/1.665, allocations: 205.1 MB / 222 MB, free: 4.754 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.3952/0.3952, allocations: 37.98 MB / 307.3 MB, free: 10.09 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.001845/0.001846, allocations: 70.41 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1592, allocations: 56.46 MB / 431 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003224/0.1624, allocations: 1.513 MB / 432.5 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.165, allocations: 1.488 MB / 434 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.154e-05/0.1651, allocations: 0 / 434 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.1654, allocations: 31.81 kB / 434.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.1657, allocations: 36.06 kB / 434.1 MB, free: 3.969 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.1661, allocations: 179.4 kB / 434.3 MB, free: 3.793 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.1662, allocations: 55.66 kB / 434.3 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.36e-05/0.1663, allocations: 15.84 kB / 434.3 MB, free: 3.723 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.901e-05/0.1664, allocations: 19.94 kB / 434.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.327e-05/0.1665, allocations: 31.78 kB / 434.4 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1665, allocations: 4 kB / 434.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000611/0.1671, allocations: 331.5 kB / 434.7 MB, free: 3.344 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.1671, allocations: 8 kB / 434.7 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.917e-05/0.1672, allocations: 31.8 kB / 434.7 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.1676, allocations: 263.4 kB / 435 MB, free: 3.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.153e-05/0.1677, allocations: 4 kB / 435 MB, free: 3.043 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1677, allocations: 0 / 435 MB, free: 3.043 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.1677, allocations: 0 / 435 MB, free: 3.043 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006751/0.1684, allocations: 423.2 kB / 435.4 MB, free: 2.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.1684, allocations: 11.97 kB / 435.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.1685, allocations: 12.78 kB / 435.4 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.1686, allocations: 172.4 kB / 435.6 MB, free: 2.352 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.1687, allocations: 384 / 435.6 MB, free: 2.352 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.1687, allocations: 4.375 kB / 435.6 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1689, allocations: 65.8 kB / 435.7 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1689, allocations: 0 / 435.7 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1689, allocations: 8 kB / 435.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1689, allocations: 7.938 kB / 435.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.124e-05/0.169, allocations: 51.97 kB / 435.8 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.1693, allocations: 189.4 kB / 435.9 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.922e-05/0.1694, allocations: 62.55 kB / 436 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.1694, allocations: 40.84 kB / 436 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.605e-05/0.1695, allocations: 19.98 kB / 436.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.1696, allocations: 38.5 kB / 436.1 MB, free: 1.797 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.1696, allocations: 0 / 436.1 MB, free: 1.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.01999/0.1896, allocations: 1.611 MB / 437.7 MB, free: 160 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.1896, allocations: 55.34 kB / 437.8 MB, free: 92 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.1898, allocations: 145.9 kB / 437.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.1898, allocations: 37.64 kB / 437.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.1899, allocations: 80.14 kB / 438 MB, free: 15.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.242e-05/0.19, allocations: 43.39 kB / 438.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.1901, allocations: 45.59 kB / 438.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1902, allocations: 322.8 kB / 438.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006549/0.1909, allocations: 207.9 kB / 438.6 MB, free: 15.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/0.1915, allocations: 211.8 kB / 438.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.1928, allocations: 380.7 kB / 439.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1928, allocations: 4 kB / 439.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001315/0.1941, allocations: 445.3 kB / 439.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.1941, allocations: 12 kB / 439.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.1942, allocations: 0 / 439.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.1942, allocations: 0 / 439.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005431/0.1947, allocations: 63.88 kB / 439.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1948, allocations: 4 kB / 439.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.1951, allocations: 35.95 kB / 439.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.1952, allocations: 12 kB / 439.8 MB, free: 14.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (data.zetaLaminarKnown,data.zeta2_at_a,data.zeta1_at_a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.1953, allocations: 125.8 kB / 439.9 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.1954, allocations: 3.906 kB / 439.9 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.1967, allocations: 370 kB / 440.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1968, allocations: 4 kB / 440.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1968, allocations: 0 / 440.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1968, allocations: 0 / 440.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.1994, allocations: 0.7739 MB / 441 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.1995, allocations: 96 / 441 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/0.1999, allocations: 75.95 kB / 441.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1999, allocations: 0 / 441.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.2, allocations: 4 kB / 441.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.2, allocations: 3.938 kB / 441.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.2, allocations: 11.94 kB / 441.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.2012, allocations: 417.8 kB / 441.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.2013, allocations: 112.8 kB / 441.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.2014, allocations: 4 kB / 441.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.2018, allocations: 39.95 kB / 441.7 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.2018, allocations: 15.88 kB / 441.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.2018, allocations: 11.98 kB / 441.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.224e-05/0.2019, allocations: 95.27 kB / 441.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2019, allocations: 0 / 441.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006145/0.2025, allocations: 175.9 kB / 442 MB, free: 11.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006776/0.2032, allocations: 251 kB / 442.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.2045, allocations: 371.7 kB / 442.6 MB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2045, allocations: 0 / 442.6 MB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005472/0.205, allocations: 151.8 kB / 442.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.2055, allocations: 12.34 kB / 442.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.2079, allocations: 0.5204 MB / 443.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.2081, allocations: 0.7004 MB / 444 MB, free: 9.641 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002331/0.2084, allocations: 44.77 kB / 444 MB, free: 9.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.2085, allocations: 31.41 kB / 444 MB, free: 9.562 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2085, allocations: 0 / 444 MB, free: 9.562 MB / 382.1 MB Notification: Performance of Templates: time 0.01268/0.2212, allocations: 8.345 MB / 452.4 MB, free: 1.195 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1)