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.006707/0.006707, allocations: 99.19 kB / 15.73 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.001504/0.001504, allocations: 198.1 kB / 16.67 MB, free: 5.969 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.6/1.6, allocations: 205.1 MB / 222.6 MB, free: 4.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.3538/0.3538, allocations: 39.94 MB / 309.8 MB, free: 9.348 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.001646/0.001646, allocations: 68.28 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4026, allocations: 56.87 MB / 492.7 MB, free: 19.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002827/0.4055, allocations: 1.453 MB / 494.1 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.4078, allocations: 1.46 MB / 495.6 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.61e-05/0.4079, allocations: 1.281 kB / 495.6 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.4082, allocations: 38.84 kB / 495.6 MB, free: 17.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.4085, allocations: 51.78 kB / 495.7 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.409, allocations: 224 kB / 495.9 MB, free: 17.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.4092, allocations: 46.84 kB / 495.9 MB, free: 17.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.449e-05/0.4093, allocations: 8.438 kB / 495.9 MB, free: 17.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.009e-05/0.4093, allocations: 26.86 kB / 496 MB, free: 17.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.891e-05/0.4094, allocations: 34.47 kB / 496 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.4094, allocations: 0.9375 kB / 496 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006595/0.4101, allocations: 334.7 kB / 496.3 MB, free: 16.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.4101, allocations: 10.08 kB / 496.3 MB, free: 16.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.787e-05/0.4102, allocations: 28.66 kB / 496.4 MB, free: 16.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005227/0.4107, allocations: 274.2 kB / 496.6 MB, free: 16.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4107, allocations: 0 / 496.6 MB, free: 16.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4108, allocations: 1.531 kB / 496.6 MB, free: 16.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.4108, allocations: 0 / 496.6 MB, free: 16.85 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.0006153/0.4114, allocations: 423.6 kB / 497 MB, free: 16.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4114, allocations: 13.45 kB / 497.1 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.4115, allocations: 11.03 kB / 497.1 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.4116, allocations: 169.5 kB / 497.2 MB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.4117, allocations: 3.312 kB / 497.2 MB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.4117, allocations: 3.703 kB / 497.2 MB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.4119, allocations: 70.12 kB / 497.3 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.4119, allocations: 1.406 kB / 497.3 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.4119, allocations: 4 kB / 497.3 MB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.4119, allocations: 1.406 kB / 497.3 MB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.412, allocations: 61.33 kB / 497.4 MB, free: 16.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.4122, allocations: 188.7 kB / 497.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.4124, allocations: 62.36 kB / 497.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.436e-05/0.4125, allocations: 39.61 kB / 497.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.79e-05/0.4126, allocations: 18.83 kB / 497.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.4126, allocations: 40.86 kB / 497.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 2.645e-06/0.4126, allocations: 4 kB / 497.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02118/0.4338, allocations: 1.623 MB / 499.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.4339, allocations: 60.44 kB / 499.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.4341, allocations: 129.2 kB / 499.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.4341, allocations: 30.86 kB / 499.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.4341, allocations: 90.7 kB / 499.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.525e-05/0.4342, allocations: 43.28 kB / 499.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.4343, allocations: 44.41 kB / 499.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.545e-05/0.4344, allocations: 325.1 kB / 0.4883 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006501/0.4351, allocations: 199.7 kB / 0.4885 GB, free: 14.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006725/0.4358, allocations: 204.9 kB / 0.4887 GB, free: 14.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.4371, allocations: 380.3 kB / 0.4891 GB, free: 14.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4371, allocations: 0.7031 kB / 0.4891 GB, free: 14.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001468/0.4386, allocations: 460.5 kB / 0.4895 GB, free: 14.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.4386, allocations: 6.531 kB / 0.4895 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.4387, allocations: 4 kB / 0.4895 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/0.4387, allocations: 1.531 kB / 0.4895 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/0.4393, allocations: 67.83 kB / 0.4896 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.4393, allocations: 1.812 kB / 0.4896 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.4398, allocations: 38.73 kB / 0.4896 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.4398, allocations: 10.41 kB / 0.4896 GB, free: 14.3 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.0001374/0.4399, allocations: 127.7 kB / 0.4898 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.44, allocations: 6.625 kB / 0.4898 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.4415, allocations: 361.3 kB / 0.4901 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4416, allocations: 2.75 kB / 0.4901 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4416, allocations: 0.5625 kB / 0.4901 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4416, allocations: 0.75 kB / 0.4901 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003226/0.4448, allocations: 0.7798 MB / 0.4909 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.4448, allocations: 1.469 kB / 0.4909 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.4454, allocations: 69.36 kB / 0.4909 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.4454, allocations: 1.312 kB / 0.4909 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.4454, allocations: 6.344 kB / 0.491 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.4454, allocations: 3.234 kB / 0.491 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/0.4455, allocations: 5.125 kB / 0.491 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.447, allocations: 427.2 kB / 0.4914 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.4471, allocations: 107 kB / 0.4915 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.4472, allocations: 3.047 kB / 0.4915 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/0.4476, allocations: 43.52 kB / 0.4915 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.4477, allocations: 11.91 kB / 0.4915 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.4477, allocations: 7.656 kB / 0.4915 GB, free: 13.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.374e-05/0.4478, allocations: 96.34 kB / 0.4916 GB, free: 13.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4478, allocations: 96 / 0.4916 GB, free: 13.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009146/0.4487, allocations: 177.1 kB / 0.4918 GB, free: 13.11 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.0007779/0.4495, allocations: 259 kB / 0.492 GB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.451, allocations: 378.9 kB / 0.4924 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.451, allocations: 0 / 0.4924 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006336/0.4517, allocations: 150.9 kB / 0.4925 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.4521, allocations: 16.55 kB / 0.4926 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.4548, allocations: 0.5023 MB / 0.4931 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.455, allocations: 0.6934 MB / 0.4937 GB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002021/0.4552, allocations: 41.11 kB / 0.4938 GB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.4554, allocations: 25.52 kB / 0.4938 GB, free: 11.84 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4554, allocations: 3.938 kB / 0.4938 GB, free: 11.84 MB / 382.1 MB Notification: Performance of Templates: time 0.01689/0.4723, allocations: 8.685 MB / 0.5023 GB, free: 7.195 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (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)