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.006246/0.006246, allocations: 104.1 kB / 15.74 MB, free: 6.039 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.001342/0.001342, allocations: 196.5 kB / 16.67 MB, free: 5.957 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.585/1.585, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3595/0.3595, allocations: 38 MB / 307.9 MB, free: 10.12 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.001475/0.001475, allocations: 75.83 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.3994, allocations: 56.46 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002589/0.402, allocations: 1.455 MB / 490.9 MB, free: 18.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.404, allocations: 1.449 MB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.4041, allocations: 0 / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.4043, allocations: 35.86 kB / 492.4 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.4046, allocations: 48.64 kB / 492.5 MB, free: 17.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.4051, allocations: 219.4 kB / 492.7 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.4053, allocations: 62.28 kB / 492.7 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.4053, allocations: 9.703 kB / 492.7 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.619e-05/0.4054, allocations: 25.8 kB / 492.8 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.134e-05/0.4055, allocations: 21.88 kB / 492.8 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.4055, allocations: 2.281 kB / 492.8 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006045/0.4061, allocations: 337.4 kB / 493.1 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.4061, allocations: 16.39 kB / 493.1 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.4062, allocations: 27.06 kB / 493.2 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004844/0.4067, allocations: 277.7 kB / 493.4 MB, free: 17.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4067, allocations: 1.031 kB / 493.4 MB, free: 17.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4067, allocations: 3.938 kB / 493.4 MB, free: 17.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.4067, allocations: 0 / 493.4 MB, free: 17.53 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.0005454/0.4072, allocations: 416.5 kB / 493.8 MB, free: 17.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.4073, allocations: 14.16 kB / 493.9 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.4073, allocations: 7.969 kB / 493.9 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.4075, allocations: 165 kB / 494 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.4075, allocations: 6.812 kB / 494 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.4075, allocations: 10.81 kB / 494 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.4077, allocations: 67.16 kB / 494.1 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.4077, allocations: 0 / 494.1 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.4077, allocations: 1.406 kB / 494.1 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.4078, allocations: 0 / 494.1 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.4079, allocations: 59.02 kB / 494.2 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/0.4081, allocations: 195.3 kB / 494.4 MB, free: 16.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.4082, allocations: 58.78 kB / 494.4 MB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.807e-05/0.4083, allocations: 39.34 kB / 494.5 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.052e-05/0.4084, allocations: 19.92 kB / 494.5 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.4084, allocations: 39.66 kB / 494.5 MB, free: 16.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.4084, allocations: 0 / 494.5 MB, free: 16.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02092/0.4293, allocations: 1.622 MB / 496.1 MB, free: 16.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.4294, allocations: 56.41 kB / 496.2 MB, free: 16.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.4295, allocations: 140.1 kB / 496.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.4296, allocations: 26.7 kB / 496.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.4296, allocations: 95.05 kB / 496.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.4297, allocations: 44.02 kB / 496.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.4298, allocations: 50.83 kB / 496.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.4299, allocations: 320 kB / 496.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006475/0.4305, allocations: 203.7 kB / 497 MB, free: 15.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006629/0.4312, allocations: 203.3 kB / 497.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.4325, allocations: 380.6 kB / 497.6 MB, free: 15.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4325, allocations: 0 / 497.6 MB, free: 15.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001421/0.4339, allocations: 454.9 kB / 498.1 MB, free: 15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.434, allocations: 6.828 kB / 498.1 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.434, allocations: 0 / 498.1 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.434, allocations: 1.375 kB / 498.1 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/0.4346, allocations: 66.39 kB / 498.1 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4346, allocations: 0 / 498.1 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004345/0.435, allocations: 42.84 kB / 498.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.4351, allocations: 8.359 kB / 498.2 MB, free: 14.99 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.0001142/0.4352, allocations: 117.1 kB / 498.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.4352, allocations: 16.66 kB / 498.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.4367, allocations: 361.7 kB / 498.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.4367, allocations: 5.875 kB / 498.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4367, allocations: 4.641 kB / 498.7 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4367, allocations: 0.7031 kB / 498.7 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/0.4398, allocations: 0.7719 MB / 499.5 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.4398, allocations: 1.531 kB / 499.5 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/0.4404, allocations: 68.81 kB / 499.5 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4404, allocations: 2.188 kB / 499.5 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.4404, allocations: 7.125 kB / 499.5 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.4404, allocations: 5.609 kB / 499.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4404, allocations: 5.125 kB / 499.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.4418, allocations: 416 kB / 499.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.4419, allocations: 107.1 kB / 0.4883 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.442, allocations: 11.91 kB / 0.4883 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/0.4424, allocations: 35.17 kB / 0.4884 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.4424, allocations: 18.8 kB / 0.4884 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.4425, allocations: 12.02 kB / 0.4884 GB, free: 13.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.91e-05/0.4425, allocations: 101 kB / 0.4885 GB, free: 13.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4425, allocations: 0 / 0.4885 GB, free: 13.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007821/0.4433, allocations: 170.4 kB / 0.4887 GB, free: 13.8 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.0006573/0.444, allocations: 266.3 kB / 0.4889 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.4454, allocations: 379.5 kB / 0.4893 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4454, allocations: 0 / 0.4893 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000635/0.4461, allocations: 149.8 kB / 0.4894 GB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.4465, allocations: 15.81 kB / 0.4894 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.4494, allocations: 0.4984 MB / 0.4899 GB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.4496, allocations: 0.6984 MB / 0.4906 GB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002083/0.4499, allocations: 40.64 kB / 0.4906 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.45, allocations: 26.3 kB / 0.4907 GB, free: 12.53 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.45, allocations: 0 / 0.4907 GB, free: 12.53 MB / 382.1 MB Notification: Performance of Templates: time 0.01666/0.4667, allocations: 8.681 MB / 0.4991 GB, free: 8.719 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)