Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009868/0.009874, allocations: 164.8 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.612/1.612, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001989/0.001988, allocations: 107.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4294/0.4294, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004606, allocations: 19.98 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1075, allocations: 48.71 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4001/0.5077, allocations: 75.88 MB / 487.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.508, allocations: 81.27 kB / 487.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02078/0.5288, allocations: 5.279 MB / 492.9 MB, free: 6.996 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.5288, allocations: 0 / 492.9 MB, free: 6.996 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.5289, allocations: 4 kB / 492.9 MB, free: 6.992 MB / 330.7 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.0005018/0.5294, allocations: 429.1 kB / 493.4 MB, free: 6.535 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.5294, allocations: 8.031 kB / 493.4 MB, free: 6.527 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.5295, allocations: 30.56 kB / 493.4 MB, free: 6.488 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.5295, allocations: 11.17 kB / 493.4 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.5296, allocations: 178.9 kB / 493.6 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.5296, allocations: 3.938 kB / 493.6 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.5297, allocations: 7.906 kB / 493.6 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.5298, allocations: 61.17 kB / 493.6 MB, free: 6.203 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.5299, allocations: 0 / 493.6 MB, free: 6.203 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.5299, allocations: 3.938 kB / 493.6 MB, free: 6.203 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5299, allocations: 5.031 kB / 493.7 MB, free: 6.199 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.53, allocations: 58.41 kB / 493.7 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.5302, allocations: 196.8 kB / 493.9 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.835e-05/0.5303, allocations: 58.11 kB / 494 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.125e-05/0.5304, allocations: 15.88 kB / 494 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.5304, allocations: 34.56 kB / 494 MB, free: 5.828 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.5304, allocations: 0 / 494 MB, free: 5.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.03231/0.5627, allocations: 1.333 MB / 495.3 MB, free: 4.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.5628, allocations: 51.41 kB / 495.4 MB, free: 4.523 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.5629, allocations: 117.6 kB / 495.5 MB, free: 4.406 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.563, allocations: 29.7 kB / 495.5 MB, free: 4.371 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.563, allocations: 88.06 kB / 495.6 MB, free: 4.285 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.685e-05/0.5631, allocations: 35.27 kB / 495.7 MB, free: 4.254 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.5631, allocations: 7.875 kB / 495.7 MB, free: 4.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.902e-05/0.5632, allocations: 322.8 kB / 496 MB, free: 3.926 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005055/0.5637, allocations: 90.45 kB / 496.1 MB, free: 3.867 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/0.5642, allocations: 99.83 kB / 496.2 MB, free: 3.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005733/0.5648, allocations: 91.14 kB / 496.3 MB, free: 3.738 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5648, allocations: 0 / 496.3 MB, free: 3.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001218/0.5661, allocations: 249 kB / 496.5 MB, free: 3.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.5661, allocations: 5.875 kB / 496.5 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5661, allocations: 4 kB / 496.5 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.5661, allocations: 0 / 496.5 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.5667, allocations: 35.97 kB / 496.5 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.5667, allocations: 3.984 kB / 496.5 MB, free: 3.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003958/0.5671, allocations: 20.48 kB / 496.6 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.5672, allocations: 4 kB / 496.6 MB, free: 3.484 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (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 prepare postOptimizeDAE: time 0.0001128/0.5673, allocations: 126.1 kB / 496.7 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.5673, allocations: 7.906 kB / 496.7 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.5688, allocations: 280.4 kB / 497 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.5688, allocations: 11.88 kB / 497 MB, free: 3.129 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5688, allocations: 3.984 kB / 497 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5688, allocations: 0 / 497 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/0.5716, allocations: 0.6734 MB / 497.7 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.5716, allocations: 7.938 kB / 497.7 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004986/0.5721, allocations: 35.97 kB / 497.7 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.5722, allocations: 0 / 497.7 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.5722, allocations: 6 kB / 497.7 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.5722, allocations: 3.953 kB / 497.7 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.5722, allocations: 5.484 kB / 497.7 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.5735, allocations: 392.4 kB / 498.1 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.5736, allocations: 106.2 kB / 498.2 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.5736, allocations: 3.984 kB / 498.2 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004219/0.5741, allocations: 23.17 kB / 498.2 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.5741, allocations: 8 kB / 498.2 MB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.5741, allocations: 7.984 kB / 498.3 MB, free: 1.922 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.999e-05/0.5742, allocations: 99.36 kB / 498.3 MB, free: 1.832 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5742, allocations: 0 / 498.3 MB, free: 1.832 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007288/0.575, allocations: 171.1 kB / 498.5 MB, free: 1.668 MB / 330.7 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.002223/0.5772, allocations: 1.274 MB / 499.8 MB, free: 420 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.5783, allocations: 214.9 kB / 500 MB, free: 264 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5784, allocations: 0 / 500 MB, free: 264 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005349/0.5789, allocations: 116.1 kB / 0.4884 GB, free: 176 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.5792, allocations: 23.48 kB / 0.4884 GB, free: 156 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.5822, allocations: 0.5006 MB / 0.4889 GB, free: 15.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.5825, allocations: 0.6965 MB / 0.4896 GB, free: 14.92 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003383/0.5829, allocations: 36.41 kB / 0.4896 GB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/0.5831, allocations: 32.11 kB / 0.4896 GB, free: 14.86 MB / 346.7 MB Notification: Performance of SimCode: time 8.81e-07/0.5831, allocations: 0 / 0.4896 GB, free: 14.86 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03597/0.6191, allocations: 6.33 MB / 0.4958 GB, free: 8.625 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003418/0.6195, allocations: 204.8 kB / 0.496 GB, free: 8.387 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/3.016, allocations: 4 kB / 0.496 GB, free: 8.383 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat