Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.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.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Sensors",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.01006/0.01006, allocations: 174.9 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.063/2.063, allocations: 194.5 MB / 210.3 MB, free: 8.781 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.001999/0.001999, allocations: 112.6 kB / 255.6 MB, free: 11.4 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.2607/0.2607, allocations: 40.02 MB / 340.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004834, allocations: 14.09 kB / 406.3 MB, free: 52.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1023, allocations: 54.87 MB / 461.1 MB, free: 3.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.152/0.2544, allocations: 82.52 MB / 0.5309 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.2546, allocations: 71.91 kB / 0.531 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3164/0.571, allocations: 2.76 MB / 0.5337 GB, free: 83.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.5711, allocations: 4.031 kB / 0.5337 GB, free: 83.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.5711, allocations: 3.938 kB / 0.5337 GB, free: 83.29 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0009718/0.5721, allocations: 428.4 kB / 0.5341 GB, free: 82.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.5722, allocations: 15 kB / 0.5341 GB, free: 82.89 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.429e-05/0.5723, allocations: 51.86 kB / 0.5342 GB, free: 82.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.658e-05/0.5724, allocations: 16.42 kB / 0.5342 GB, free: 82.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.5728, allocations: 202.6 kB / 0.5344 GB, free: 82.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.5728, allocations: 13 kB / 0.5344 GB, free: 82.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/0.5729, allocations: 15.5 kB / 0.5344 GB, free: 82.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008425/0.5738, allocations: 139.1 kB / 0.5345 GB, free: 82.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.5738, allocations: 4 kB / 0.5345 GB, free: 82.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.5739, allocations: 7.844 kB / 0.5345 GB, free: 82.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.5739, allocations: 2.906 kB / 0.5345 GB, free: 82.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007216/0.5747, allocations: 113.7 kB / 0.5346 GB, free: 82.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.5763, allocations: 0.5591 MB / 0.5352 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.5767, allocations: 78.33 kB / 0.5353 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.5767, allocations: 1.031 kB / 0.5353 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.5768, allocations: 41.84 kB / 0.5353 GB, free: 82.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.565e-06/0.5768, allocations: 0 / 0.5353 GB, free: 82.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006409/0.5774, allocations: 127.7 kB / 0.5354 GB, free: 82.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.5775, allocations: 51.41 kB / 0.5355 GB, free: 82.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.5777, allocations: 141.9 kB / 0.5356 GB, free: 81.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.5777, allocations: 29.27 kB / 0.5356 GB, free: 81.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.5778, allocations: 137.1 kB / 0.5358 GB, free: 81.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.5778, allocations: 23.23 kB / 0.5358 GB, free: 81.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-06/0.5778, allocations: 3.938 kB / 0.5358 GB, free: 81.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.599e-05/0.5779, allocations: 316.9 kB / 0.5361 GB, free: 81.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.5781, allocations: 37.81 kB / 0.5361 GB, free: 81.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.5783, allocations: 71.09 kB / 0.5362 GB, free: 81.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.5785, allocations: 39.33 kB / 0.5362 GB, free: 81.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.5786, allocations: 1.062 kB / 0.5362 GB, free: 81.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005294/0.5791, allocations: 139 kB / 0.5364 GB, free: 81.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.5791, allocations: 6.188 kB / 0.5364 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.5792, allocations: 5.516 kB / 0.5364 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.5792, allocations: 1.312 kB / 0.5364 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.5794, allocations: 32.2 kB / 0.5364 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.5795, allocations: 2.859 kB / 0.5364 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.5797, allocations: 18.92 kB / 0.5364 GB, free: 81.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.5797, allocations: 5.156 kB / 0.5364 GB, free: 81.35 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * 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.0001166/0.5798, allocations: 124.9 kB / 0.5366 GB, free: 81.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.5799, allocations: 8 kB / 0.5366 GB, free: 81.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.346e-05/0.5799, allocations: 15.56 kB / 0.5366 GB, free: 81.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.5799, allocations: 5.688 kB / 0.5366 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5799, allocations: 0 / 0.5366 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5799, allocations: 0.8438 kB / 0.5366 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.5802, allocations: 206.3 kB / 0.5368 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5802, allocations: 0.9844 kB / 0.5368 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.5804, allocations: 16.3 kB / 0.5368 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.5804, allocations: 0.6875 kB / 0.5368 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.5804, allocations: 1.984 kB / 0.5368 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5805, allocations: 4 kB / 0.5368 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5805, allocations: 3.953 kB / 0.5368 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.5809, allocations: 195.3 kB / 0.537 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.581, allocations: 88.72 kB / 0.5371 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.581, allocations: 8.969 kB / 0.5371 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.5812, allocations: 8.031 kB / 0.5371 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.5812, allocations: 8.422 kB / 0.5371 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.5812, allocations: 5.031 kB / 0.5371 GB, free: 80.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.994e-05/0.5813, allocations: 110.2 kB / 0.5372 GB, free: 80.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5814, allocations: 0 / 0.5372 GB, free: 80.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003429/0.5817, allocations: 31.69 kB / 0.5373 GB, free: 80.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0006241/0.5823, allocations: 0.7258 MB / 0.538 GB, free: 80.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004595/0.5828, allocations: 81.3 kB / 0.538 GB, free: 80.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5828, allocations: 0 / 0.538 GB, free: 80.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.583, allocations: 37.94 kB / 0.5381 GB, free: 80.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.5833, allocations: 10 kB / 0.5381 GB, free: 80.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.5852, allocations: 1.381 MB / 0.5394 GB, free: 78.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.5855, allocations: 0.7099 MB / 0.5401 GB, free: 78.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.004e-05/0.5856, allocations: 15.17 kB / 0.5401 GB, free: 78.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/0.5857, allocations: 36 kB / 0.5402 GB, free: 78.21 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5857, allocations: 0 / 0.5402 GB, free: 78.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.6106, allocations: 1.913 MB / 0.542 GB, free: 77.94 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/0.6109, allocations: 166.8 kB / 0.5422 GB, free: 77.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.625/3.236, allocations: 0 / 0.5422 GB, free: 77.7 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors_res.mat does not exist to compare? outputFormat=mat