Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",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.02092/0.02092, allocations: 175.4 kB / 15.12 MB, free: 5.973 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 1.941/1.941, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.002069/0.002069, allocations: 116.6 kB / 255.6 MB, free: 10.23 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.2567/0.2567, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004738, allocations: 9.906 kB / 406.3 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1052, allocations: 54.87 MB / 461.1 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6869/0.7922, allocations: 237.2 MB / 0.682 GB, free: 3.316 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/0.7926, allocations: 96.28 kB / 0.6821 GB, free: 3.262 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.685/2.477, allocations: 274.5 MB / 0.9501 GB, free: 105.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.395e-06/2.478, allocations: 0 / 0.9501 GB, free: 105.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.184e-05/2.478, allocations: 24.19 kB / 0.9501 GB, free: 105.5 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.005252/2.483, allocations: 1.592 MB / 0.9517 GB, free: 104.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/2.483, allocations: 7.594 kB / 0.9517 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002963/2.483, allocations: 100.5 kB / 0.9518 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/2.485, allocations: 138.9 kB / 0.9519 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/2.486, allocations: 0.561 MB / 0.9525 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/2.486, allocations: 101.8 kB / 0.9526 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/2.487, allocations: 49.91 kB / 0.9526 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/2.489, allocations: 0.819 MB / 0.9534 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/2.489, allocations: 7.656 kB / 0.9534 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/2.489, allocations: 26.19 kB / 0.9535 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.333e-05/2.489, allocations: 43.2 kB / 0.9535 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/2.491, allocations: 0.5778 MB / 0.9541 GB, free: 104.3 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006811/2.498, allocations: 4.421 MB / 0.9584 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/2.499, allocations: 311 kB / 0.9587 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002944/2.499, allocations: 347.2 kB / 0.959 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/2.499, allocations: 37.28 kB / 0.959 GB, free: 100.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 2.555e-06/2.499, allocations: 0 / 0.959 GB, free: 100.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.006142/2.505, allocations: 1.486 MB / 0.9605 GB, free: 100.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/2.505, allocations: 136.3 kB / 0.9606 GB, free: 100.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/2.507, allocations: 0.5675 MB / 0.9612 GB, free: 100 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/2.507, allocations: 32.92 kB / 0.9612 GB, free: 99.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/2.507, allocations: 407.2 kB / 0.9616 GB, free: 99.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/2.507, allocations: 125.4 kB / 0.9617 GB, free: 99.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.097e-05/2.507, allocations: 17.59 kB / 0.9617 GB, free: 99.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/2.507, allocations: 375.3 kB / 0.9621 GB, free: 99.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/2.508, allocations: 199.2 kB / 0.9623 GB, free: 99.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007092/2.509, allocations: 0.5285 MB / 0.9628 GB, free: 98.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006929/2.509, allocations: 296.8 kB / 0.9631 GB, free: 98.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/2.509, allocations: 3.125 kB / 0.9631 GB, free: 98.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002155/2.512, allocations: 0.8792 MB / 0.9639 GB, free: 98.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/2.512, allocations: 14.28 kB / 0.964 GB, free: 98.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/2.512, allocations: 11.5 kB / 0.964 GB, free: 98.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002028/2.514, allocations: 287.1 kB / 0.9642 GB, free: 98.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007906/2.514, allocations: 134.2 kB / 0.9644 GB, free: 98.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/2.516, allocations: 1.367 MB / 0.9657 GB, free: 97.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/2.517, allocations: 36.59 kB / 0.9657 GB, free: 97.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/2.517, allocations: 51.17 kB / 0.9658 GB, free: 97.83 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.000527/2.518, allocations: 249.8 kB / 0.966 GB, free: 97.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/2.518, allocations: 75.86 kB / 0.9661 GB, free: 97.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/2.52, allocations: 0.6783 MB / 0.9668 GB, free: 97.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/2.52, allocations: 7.797 kB / 0.9668 GB, free: 97.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/2.52, allocations: 0 / 0.9668 GB, free: 97.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/2.52, allocations: 3.75 kB / 0.9668 GB, free: 97.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/2.523, allocations: 1.202 MB / 0.9679 GB, free: 97.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/2.523, allocations: 0 / 0.9679 GB, free: 97.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/2.523, allocations: 42.22 kB / 0.968 GB, free: 97.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/2.525, allocations: 197.7 kB / 0.9682 GB, free: 97.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-05/2.525, allocations: 7.875 kB / 0.9682 GB, free: 97.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/2.526, allocations: 1.299 MB / 0.9695 GB, free: 96.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/2.526, allocations: 3.844 kB / 0.9695 GB, free: 96.19 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/2.528, allocations: 0.8037 MB / 0.9702 GB, free: 95.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004521/2.528, allocations: 198.3 kB / 0.9704 GB, free: 95.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/2.529, allocations: 14.33 kB / 0.9704 GB, free: 95.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/2.529, allocations: 22.73 kB / 0.9705 GB, free: 95.81 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.681e-05/2.529, allocations: 29.52 kB / 0.9705 GB, free: 95.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-05/2.529, allocations: 22.94 kB / 0.9705 GB, free: 95.81 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007753/2.53, allocations: 438.5 kB / 0.9709 GB, free: 95.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-07/2.53, allocations: 0 / 0.9709 GB, free: 95.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001857/2.532, allocations: 366.8 kB / 0.9713 GB, free: 95.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * 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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003469/2.536, allocations: 1.827 MB / 0.9731 GB, free: 94.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001666/2.537, allocations: 0.5171 MB / 0.9736 GB, free: 94.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/2.537, allocations: 11.52 kB / 0.9736 GB, free: 94.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007348/2.538, allocations: 210.5 kB / 0.9738 GB, free: 94.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/2.541, allocations: 290.2 kB / 0.9741 GB, free: 94.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/2.551, allocations: 11.34 MB / 0.9851 GB, free: 86.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/2.552, allocations: 0.9489 MB / 0.9861 GB, free: 85.36 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001325/2.553, allocations: 239.8 kB / 0.9863 GB, free: 85.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004786/2.554, allocations: 241.3 kB / 0.9865 GB, free: 85.34 MB / 490.7 MB Notification: Performance of SimCode: time 1.372e-06/2.554, allocations: 0 / 0.9865 GB, free: 85.34 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06788/2.622, allocations: 21.99 MB / 1.008 GB, free: 84.39 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002864/2.622, allocations: 277.3 kB / 1.008 GB, free: 84.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.358/5.98, allocations: 0 / 1.008 GB, free: 84.04 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat