Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01003/0.01003, allocations: 177.3 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.072/2.072, allocations: 194.5 MB / 210.3 MB, free: 8.59 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002075/0.002075, allocations: 112.7 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.263/0.263, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004599/0.0004599, allocations: 17.06 kB / 406.3 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1142, allocations: 54.88 MB / 461.1 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.2683, allocations: 82.26 MB / 0.5307 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/0.2687, allocations: 79.91 kB / 0.5308 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.324/0.5927, allocations: 5.284 MB / 0.5359 GB, free: 82.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5928, allocations: 0 / 0.5359 GB, free: 82.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.5928, allocations: 2.188 kB / 0.5359 GB, free: 82.5 MB / 378.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.0005752/0.5934, allocations: 417.5 kB / 0.5363 GB, free: 82.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.5935, allocations: 8.688 kB / 0.5363 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/0.5935, allocations: 38.81 kB / 0.5364 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.5936, allocations: 6.219 kB / 0.5364 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.5937, allocations: 179.4 kB / 0.5365 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.5937, allocations: 1.062 kB / 0.5365 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.5937, allocations: 6.812 kB / 0.5365 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.5939, allocations: 67.69 kB / 0.5366 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.5939, allocations: 4.906 kB / 0.5366 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.594, allocations: 0.875 kB / 0.5366 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.594, allocations: 1.312 kB / 0.5366 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.5941, allocations: 59.61 kB / 0.5367 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.5943, allocations: 190.8 kB / 0.5369 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.5945, allocations: 56.56 kB / 0.5369 GB, free: 81.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.651e-05/0.5946, allocations: 28.22 kB / 0.5369 GB, free: 81.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.5946, allocations: 31.94 kB / 0.537 GB, free: 81.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.5946, allocations: 0.6562 kB / 0.537 GB, free: 81.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.03257/0.6272, allocations: 1.328 MB / 0.5383 GB, free: 81.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.6273, allocations: 54.42 kB / 0.5383 GB, free: 81.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.6274, allocations: 117.7 kB / 0.5384 GB, free: 81.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.6274, allocations: 27.42 kB / 0.5385 GB, free: 81.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.6275, allocations: 89.62 kB / 0.5385 GB, free: 81.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.609e-05/0.6276, allocations: 44.19 kB / 0.5386 GB, free: 81.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.6276, allocations: 1.219 kB / 0.5386 GB, free: 81.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.726e-05/0.6277, allocations: 324.8 kB / 0.5389 GB, free: 80.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005431/0.6282, allocations: 91.25 kB / 0.539 GB, free: 80.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005435/0.6288, allocations: 92.73 kB / 0.5391 GB, free: 80.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006514/0.6295, allocations: 96.72 kB / 0.5392 GB, free: 80.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6295, allocations: 1 kB / 0.5392 GB, free: 80.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001298/0.6308, allocations: 244.5 kB / 0.5394 GB, free: 80.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.6308, allocations: 9.328 kB / 0.5394 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.6308, allocations: 0 / 0.5394 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.6309, allocations: 5.125 kB / 0.5394 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.6314, allocations: 37.52 kB / 0.5394 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.6315, allocations: 0.8906 kB / 0.5394 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.6319, allocations: 21.62 kB / 0.5395 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.6319, allocations: 10.28 kB / 0.5395 GB, free: 80.65 MB / 378.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.0001258/0.6321, allocations: 115.8 kB / 0.5396 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.6321, allocations: 10.03 kB / 0.5396 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/0.6336, allocations: 292.3 kB / 0.5399 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.6337, allocations: 1.5 kB / 0.5399 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6337, allocations: 0 / 0.5399 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.6337, allocations: 3.656 kB / 0.5399 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.6366, allocations: 0.6678 MB / 0.5405 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.6366, allocations: 1.031 kB / 0.5405 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005416/0.6372, allocations: 48.58 kB / 0.5406 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.6372, allocations: 5.062 kB / 0.5406 GB, free: 80.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.6372, allocations: 8.375 kB / 0.5406 GB, free: 80.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.6373, allocations: 0.875 kB / 0.5406 GB, free: 80.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.716e-06/0.6373, allocations: 1.125 kB / 0.5406 GB, free: 80.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.6386, allocations: 393.3 kB / 0.541 GB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.6387, allocations: 104.5 kB / 0.5411 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.031e-05/0.6388, allocations: 2.906 kB / 0.5411 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.6392, allocations: 16.06 kB / 0.5411 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.6392, allocations: 17.92 kB / 0.5411 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.6393, allocations: 5.125 kB / 0.5411 GB, free: 79.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.459e-05/0.6394, allocations: 102.7 kB / 0.5412 GB, free: 79.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6394, allocations: 0 / 0.5412 GB, free: 79.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009207/0.6403, allocations: 170.8 kB / 0.5414 GB, free: 79.67 MB / 378.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.002451/0.6428, allocations: 1.275 MB / 0.5426 GB, free: 78.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.644, allocations: 210.8 kB / 0.5428 GB, free: 78.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6441, allocations: 0 / 0.5428 GB, free: 78.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005684/0.6446, allocations: 109.8 kB / 0.5429 GB, free: 78.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.645, allocations: 21.39 kB / 0.5429 GB, free: 78.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.648, allocations: 0.4948 MB / 0.5434 GB, free: 78.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.6482, allocations: 0.6991 MB / 0.5441 GB, free: 77.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003417/0.6486, allocations: 44.03 kB / 0.5441 GB, free: 77.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.6488, allocations: 31.41 kB / 0.5442 GB, free: 77.67 MB / 378.7 MB Notification: Performance of SimCode: time 9.41e-07/0.6488, allocations: 0 / 0.5442 GB, free: 77.67 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03422/0.6831, allocations: 6.308 MB / 0.5503 GB, free: 74.61 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/0.6834, allocations: 213.4 kB / 0.5505 GB, free: 74.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/3.235, allocations: 7.531 kB / 0.5505 GB, free: 74.36 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat