Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001233/0.001233, allocations: 99.31 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.001322/0.001322, allocations: 177.3 kB / 15.94 MB, free: 228 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.256/1.256, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.2642/0.2642, allocations: 39.99 MB / 310.4 MB, free: 9.699 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.0005214/0.0005215, allocations: 20 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09237/0.0929, allocations: 57.95 MB / 436.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001416/0.09435, allocations: 1.136 MB / 437.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.09587, allocations: 1.283 MB / 439.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.09592, allocations: 0 / 439.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.09606, allocations: 39.77 kB / 439.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.09621, allocations: 35.92 kB / 439.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.09655, allocations: 167.5 kB / 439.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.402e-05/0.09664, allocations: 39.88 kB / 439.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.09668, allocations: 11.98 kB / 439.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.09673, allocations: 23.92 kB / 439.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.934e-05/0.0968, allocations: 23.86 kB / 439.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.09682, allocations: 4 kB / 439.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004497/0.09727, allocations: 307.6 kB / 439.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.0973, allocations: 19.91 kB / 439.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.09733, allocations: 29.7 kB / 439.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.0976, allocations: 187.9 kB / 440.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.09761, allocations: 0 / 440.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.09762, allocations: 0 / 440.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.09763, allocations: 4 kB / 440.1 MB, free: 14.96 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004542/0.09809, allocations: 403.1 kB / 440.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.09813, allocations: 15.97 kB / 440.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.09816, allocations: 7.859 kB / 440.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.09829, allocations: 178.8 kB / 440.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.09831, allocations: 4 kB / 440.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.09834, allocations: 7.984 kB / 440.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.09845, allocations: 57.69 kB / 440.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.09847, allocations: 0 / 440.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.09849, allocations: 8 kB / 440.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.0985, allocations: 7.891 kB / 440.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.016e-05/0.09858, allocations: 63.89 kB / 440.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.09876, allocations: 185.5 kB / 441 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.338e-05/0.09886, allocations: 54.56 kB / 441 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/0.09891, allocations: 20.22 kB / 441.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.09893, allocations: 34.56 kB / 441.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.09894, allocations: 4 kB / 441.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02007/0.119, allocations: 1.681 MB / 442.8 MB, free: 12.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.1191, allocations: 55.34 kB / 442.8 MB, free: 11.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.1192, allocations: 142 kB / 443 MB, free: 11.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.1193, allocations: 33.64 kB / 443 MB, free: 11.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.1193, allocations: 84.14 kB / 443.1 MB, free: 11.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.1194, allocations: 43.44 kB / 443.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/0.1194, allocations: 0 / 443.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1195, allocations: 322.8 kB / 443.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006726/0.1202, allocations: 212 kB / 443.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/0.1208, allocations: 204.2 kB / 443.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006881/0.1215, allocations: 192.6 kB / 444 MB, free: 10.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1216, allocations: 4 kB / 444 MB, free: 10.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001478/0.123, allocations: 491.3 kB / 444.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1231, allocations: 4 kB / 444.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.1231, allocations: 4 kB / 444.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1231, allocations: 0 / 444.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.1237, allocations: 83.78 kB / 444.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1237, allocations: 4 kB / 444.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.1242, allocations: 39.95 kB / 444.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.1242, allocations: 19.97 kB / 444.7 MB, free: 10.12 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.zeta1_at_a,data.zeta2_at_a,data.zetaLaminarKnown) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.1243, allocations: 113.8 kB / 444.8 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.1244, allocations: 7.812 kB / 444.8 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.1259, allocations: 397.9 kB / 445.2 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1259, allocations: 4 kB / 445.2 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.126, allocations: 7.953 kB / 445.2 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.126, allocations: 0 / 445.2 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/0.129, allocations: 0.809 MB / 446 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.129, allocations: 0 / 446 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005299/0.1296, allocations: 84.08 kB / 446.1 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.1296, allocations: 7.891 kB / 446.1 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.1296, allocations: 15.97 kB / 446.1 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1296, allocations: 0 / 446.1 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/0.1296, allocations: 3.938 kB / 446.1 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.131, allocations: 491.1 kB / 446.6 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.754e-05/0.1311, allocations: 105 kB / 446.7 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.1312, allocations: 15.94 kB / 446.7 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004896/0.1317, allocations: 35.97 kB / 446.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.1317, allocations: 15.92 kB / 446.8 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.1318, allocations: 15.97 kB / 446.8 MB, free: 7.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.478e-05/0.1318, allocations: 99.22 kB / 446.9 MB, free: 7.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1318, allocations: 0 / 446.9 MB, free: 7.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005542/0.1324, allocations: 171.9 kB / 447 MB, free: 7.609 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005767/0.133, allocations: 263 kB / 447.3 MB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.1344, allocations: 399.7 kB / 447.7 MB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1344, allocations: 0 / 447.7 MB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006287/0.135, allocations: 160 kB / 447.8 MB, free: 6.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.1353, allocations: 11.98 kB / 447.8 MB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.138, allocations: 0.5791 MB / 448.4 MB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.1382, allocations: 0.6965 MB / 449.1 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002305/0.1385, allocations: 52.77 kB / 449.2 MB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.1386, allocations: 43.36 kB / 449.2 MB, free: 5.348 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1387, allocations: 4 kB / 449.2 MB, free: 5.344 MB / 382.1 MB Notification: Performance of Templates: time 0.1637/0.3024, allocations: 8.326 MB / 457.5 MB, free: 48.71 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) Environment - environmentSimulation: