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.009628/0.009628, allocations: 101.3 kB / 15.73 MB, free: 6.062 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.001595/0.001595, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.749/1.749, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3622/0.3622, allocations: 38 MB / 307.9 MB, free: 10.08 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.001525/0.001525, allocations: 67.91 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4045, allocations: 56.48 MB / 489.5 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.00406/0.4086, allocations: 1.455 MB / 490.9 MB, free: 18.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002912/0.4116, allocations: 1.449 MB / 492.4 MB, free: 17.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.964e-05/0.4117, allocations: 0 / 492.4 MB, free: 17.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.412, allocations: 41.91 kB / 492.4 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.4124, allocations: 49.53 kB / 492.5 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007237/0.4131, allocations: 218.6 kB / 492.7 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.4133, allocations: 55.72 kB / 492.7 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.359e-05/0.4134, allocations: 8.922 kB / 492.7 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.926e-05/0.4135, allocations: 26.66 kB / 492.8 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.4136, allocations: 25.67 kB / 492.8 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.4136, allocations: 2.312 kB / 492.8 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008337/0.4144, allocations: 330.2 kB / 493.1 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.4145, allocations: 10.5 kB / 493.1 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.567e-05/0.4146, allocations: 36.64 kB / 493.2 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007343/0.4153, allocations: 277.7 kB / 493.4 MB, free: 17.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.4153, allocations: 0 / 493.4 MB, free: 17.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.4153, allocations: 0 / 493.4 MB, free: 17.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.4154, allocations: 1.938 kB / 493.4 MB, free: 17.38 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.0009203/0.4163, allocations: 418.4 kB / 493.8 MB, free: 16.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.405e-05/0.4164, allocations: 14.53 kB / 493.9 MB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.4164, allocations: 7.031 kB / 493.9 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.4166, allocations: 166.2 kB / 494 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.4166, allocations: 5.531 kB / 494 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.4166, allocations: 7.844 kB / 494 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.4168, allocations: 71.33 kB / 494.1 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.4168, allocations: 3.938 kB / 494.1 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.4168, allocations: 0 / 494.1 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.4169, allocations: 1.734 kB / 494.1 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.417, allocations: 55.33 kB / 494.2 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.4173, allocations: 193.5 kB / 494.4 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.4175, allocations: 59.78 kB / 494.4 MB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.4176, allocations: 40.52 kB / 494.5 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-05/0.4176, allocations: 26.67 kB / 494.5 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.4177, allocations: 40.41 kB / 494.5 MB, free: 16.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.4177, allocations: 0 / 494.5 MB, free: 16.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02049/0.4382, allocations: 1.613 MB / 496.1 MB, free: 16.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.4382, allocations: 53.75 kB / 496.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.4384, allocations: 140 kB / 496.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.4384, allocations: 30.83 kB / 496.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.4385, allocations: 94.2 kB / 496.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.4385, allocations: 40.8 kB / 496.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.4387, allocations: 43.44 kB / 496.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.651e-05/0.4387, allocations: 323.8 kB / 496.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000624/0.4394, allocations: 207.2 kB / 497 MB, free: 15.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005927/0.44, allocations: 203.4 kB / 497.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.4411, allocations: 385 kB / 497.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4412, allocations: 0 / 497.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00131/0.4425, allocations: 452.2 kB / 498.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4425, allocations: 4.594 kB / 498.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.4425, allocations: 0 / 498.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.4426, allocations: 1.25 kB / 498.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005343/0.4431, allocations: 73.66 kB / 498.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.4431, allocations: 1.469 kB / 498.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.4435, allocations: 42.33 kB / 498.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.4436, allocations: 8.203 kB / 498.2 MB, free: 14.84 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 9.841e-05/0.4437, allocations: 121.4 kB / 498.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.4437, allocations: 12.44 kB / 498.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.4451, allocations: 357.5 kB / 498.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4452, allocations: 2.75 kB / 498.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4452, allocations: 4 kB / 498.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.4452, allocations: 0.5156 kB / 498.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.448, allocations: 0.7807 MB / 499.5 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.448, allocations: 0.5156 kB / 499.5 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.4485, allocations: 74.19 kB / 499.5 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.4485, allocations: 1.438 kB / 499.5 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.4485, allocations: 10.48 kB / 499.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.4485, allocations: 2.812 kB / 499.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4485, allocations: 3.938 kB / 499.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.4498, allocations: 420.7 kB / 500 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.589e-05/0.4499, allocations: 110.3 kB / 0.4883 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.483e-05/0.4499, allocations: 6.953 kB / 0.4884 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.4503, allocations: 36.52 kB / 0.4884 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.4504, allocations: 16.25 kB / 0.4884 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.4504, allocations: 7.375 kB / 0.4884 GB, free: 13.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.538e-05/0.4505, allocations: 99.72 kB / 0.4885 GB, free: 13.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4505, allocations: 3.938 kB / 0.4885 GB, free: 13.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009755/0.4515, allocations: 169.6 kB / 0.4887 GB, free: 13.64 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.0006768/0.4521, allocations: 263.4 kB / 0.4889 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.4537, allocations: 378.7 kB / 0.4893 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4537, allocations: 0 / 0.4893 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005488/0.4543, allocations: 149.6 kB / 0.4894 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.4547, allocations: 16.08 kB / 0.4894 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.4571, allocations: 0.4988 MB / 0.4899 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.4573, allocations: 0.6941 MB / 0.4906 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001751/0.4575, allocations: 45 kB / 0.4906 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.4576, allocations: 25.94 kB / 0.4907 GB, free: 12.38 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4576, allocations: 0 / 0.4907 GB, free: 12.38 MB / 382.1 MB Notification: Performance of Templates: time 0.01462/0.4723, allocations: 8.549 MB / 0.499 GB, free: 8.746 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)