Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 121.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 200.6 kB / 18.74 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2249/0.2249, allocations: 46.13 MB / 344.4 MB, free: 11.48 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 76.06 kB / 480.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3261, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002679/0.3288, allocations: 1.474 MB / 0.532 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.3309, allocations: 1.441 MB / 0.5334 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.077e-05/0.331, allocations: 0 / 0.5334 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.3311, allocations: 30.84 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.3314, allocations: 50.67 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.3318, allocations: 230.4 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.332, allocations: 52.2 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.332, allocations: 11.98 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.641e-05/0.3321, allocations: 19.97 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.929e-05/0.3321, allocations: 25.3 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.3322, allocations: 2.281 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006049/0.3328, allocations: 346.6 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.3328, allocations: 10.16 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.3328, allocations: 30.08 kB / 0.5342 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.3333, allocations: 275.4 kB / 0.5345 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3333, allocations: 0.6875 kB / 0.5345 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3333, allocations: 4 kB / 0.5345 GB, free: 10.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3333, allocations: 1.125 kB / 0.5345 GB, free: 10.45 MB / 398.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.0005162/0.3339, allocations: 427.4 kB / 0.5349 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3339, allocations: 9.156 kB / 0.5349 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.3339, allocations: 31.97 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.334, allocations: 11.17 kB / 0.5349 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.3341, allocations: 172.3 kB / 0.5351 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3341, allocations: 5.844 kB / 0.5351 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.3342, allocations: 3.156 kB / 0.5351 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.3343, allocations: 71.48 kB / 0.5352 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3343, allocations: 1.688 kB / 0.5352 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.3343, allocations: 0 / 0.5352 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3343, allocations: 1.188 kB / 0.5352 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.785e-05/0.3344, allocations: 65.3 kB / 0.5353 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.3346, allocations: 186 kB / 0.5354 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.997e-05/0.3347, allocations: 61.92 kB / 0.5355 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.231e-05/0.3348, allocations: 48.09 kB / 0.5355 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.682e-05/0.3349, allocations: 22.92 kB / 0.5356 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.3349, allocations: 31.94 kB / 0.5356 GB, free: 9.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.3349, allocations: 0 / 0.5356 GB, free: 9.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.02055/0.3555, allocations: 1.63 MB / 0.5372 GB, free: 8.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.3555, allocations: 52.72 kB / 0.5372 GB, free: 8.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.3557, allocations: 133.9 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.3557, allocations: 34.92 kB / 0.5374 GB, free: 8.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.3558, allocations: 81.52 kB / 0.5375 GB, free: 8.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.3558, allocations: 39.77 kB / 0.5375 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.3559, allocations: 51.56 kB / 0.5376 GB, free: 8.094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3561, allocations: 320.2 kB / 0.5379 GB, free: 7.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006544/0.3567, allocations: 201.5 kB / 0.5381 GB, free: 7.672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006435/0.3574, allocations: 207 kB / 0.5382 GB, free: 7.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.3587, allocations: 378.4 kB / 0.5386 GB, free: 7.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3587, allocations: 1.312 kB / 0.5386 GB, free: 7.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001471/0.3602, allocations: 458.9 kB / 0.539 GB, free: 7.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3602, allocations: 6.031 kB / 0.5391 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3602, allocations: 4 kB / 0.5391 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3602, allocations: 0 / 0.5391 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/0.3608, allocations: 65.28 kB / 0.5391 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3608, allocations: 3.984 kB / 0.5391 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004246/0.3612, allocations: 37.91 kB / 0.5392 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.3613, allocations: 8.078 kB / 0.5392 GB, free: 7.09 MB / 398.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.0001277/0.3614, allocations: 130.1 kB / 0.5393 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.3614, allocations: 6.797 kB / 0.5393 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.3629, allocations: 373.5 kB / 0.5397 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3629, allocations: 2.125 kB / 0.5397 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.363, allocations: 0 / 0.5397 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.363, allocations: 1.062 kB / 0.5397 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/0.366, allocations: 0.786 MB / 0.5404 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.366, allocations: 1.094 kB / 0.5404 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004953/0.3665, allocations: 63.69 kB / 0.5405 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.3665, allocations: 6.344 kB / 0.5405 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.3665, allocations: 7.828 kB / 0.5405 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.3665, allocations: 4.969 kB / 0.5405 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3666, allocations: 2.031 kB / 0.5405 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.368, allocations: 413.5 kB / 0.5409 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.3681, allocations: 107.3 kB / 0.541 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.3681, allocations: 10.31 kB / 0.541 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.3686, allocations: 45.7 kB / 0.5411 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.3686, allocations: 12.67 kB / 0.5411 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.3687, allocations: 6.156 kB / 0.5411 GB, free: 5.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.74e-05/0.3687, allocations: 99.48 kB / 0.5412 GB, free: 5.609 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3688, allocations: 0 / 0.5412 GB, free: 5.609 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005859/0.3693, allocations: 175.4 kB / 0.5413 GB, free: 5.57 MB / 398.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.002242/0.3716, allocations: 1.095 MB / 0.5424 GB, free: 4.699 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.373, allocations: 387.9 kB / 0.5428 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.373, allocations: 1.094 kB / 0.5428 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006092/0.3736, allocations: 148.6 kB / 0.5429 GB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.374, allocations: 23.19 kB / 0.5429 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007151/0.3811, allocations: 2.754 MB / 0.5456 GB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.3815, allocations: 0.6963 MB / 0.5463 GB, free: 1.133 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000198/0.3817, allocations: 48.72 kB / 0.5464 GB, free: 1.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.3819, allocations: 39.41 kB / 0.5464 GB, free: 1.047 MB / 398.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3819, allocations: 0 / 0.5464 GB, free: 1.047 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03405/0.4159, allocations: 9.916 MB / 0.5561 GB, free: 7.285 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/8.558, allocations: 23.2 kB / 0.5561 GB, free: 7.27 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1)