Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01504/0.01503, allocations: 166.5 kB / 15.11 MB, free: 5.93 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.789/1.789, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.002024/0.002024, allocations: 107 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.4555/0.4555, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006978/0.0006978, allocations: 16 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1565, allocations: 48.7 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9493/1.106, allocations: 230.7 MB / 0.6274 GB, free: 101.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/1.106, allocations: 94.11 kB / 0.6275 GB, free: 101.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.325/2.431, allocations: 269.9 MB / 0.891 GB, free: 17.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.294e-06/2.431, allocations: 0 / 0.891 GB, free: 17.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.545e-05/2.431, allocations: 20.16 kB / 0.8911 GB, free: 17.64 MB / 426.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.005275/2.436, allocations: 1.589 MB / 0.8926 GB, free: 16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/2.436, allocations: 12.02 kB / 0.8926 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003414/2.437, allocations: 106.5 kB / 0.8927 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/2.438, allocations: 131 kB / 0.8928 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/2.44, allocations: 0.5599 MB / 0.8934 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/2.44, allocations: 108.3 kB / 0.8935 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/2.44, allocations: 51.91 kB / 0.8935 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/2.443, allocations: 0.8199 MB / 0.8943 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/2.443, allocations: 7.938 kB / 0.8944 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/2.443, allocations: 20 kB / 0.8944 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.177e-05/2.443, allocations: 36.98 kB / 0.8944 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/2.445, allocations: 0.5775 MB / 0.895 GB, free: 13.43 MB / 426.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.007158/2.452, allocations: 4.416 MB / 0.8993 GB, free: 8.699 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/2.453, allocations: 318.4 kB / 0.8996 GB, free: 8.379 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003212/2.453, allocations: 344.6 kB / 0.8999 GB, free: 7.969 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/2.453, allocations: 38.56 kB / 0.9 GB, free: 7.922 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.965e-06/2.453, allocations: 7.984 kB / 0.9 GB, free: 7.914 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.006174/2.46, allocations: 1.479 MB / 0.9014 GB, free: 6.359 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/2.46, allocations: 136.5 kB / 0.9015 GB, free: 6.195 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/2.461, allocations: 0.5656 MB / 0.9021 GB, free: 5.625 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001447/2.461, allocations: 33.7 kB / 0.9021 GB, free: 5.586 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004974/2.461, allocations: 406.3 kB / 0.9025 GB, free: 5.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/2.462, allocations: 126.3 kB / 0.9026 GB, free: 5.055 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/2.462, allocations: 16 kB / 0.9026 GB, free: 5.039 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002238/2.462, allocations: 378.7 kB / 0.903 GB, free: 4.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007414/2.463, allocations: 201.9 kB / 0.9032 GB, free: 4.465 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006983/2.464, allocations: 0.5231 MB / 0.9037 GB, free: 3.781 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006803/2.464, allocations: 299.2 kB / 0.904 GB, free: 3.492 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/2.464, allocations: 0 / 0.904 GB, free: 3.492 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002235/2.466, allocations: 0.88 MB / 0.9049 GB, free: 2.598 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/2.467, allocations: 12 kB / 0.9049 GB, free: 2.586 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/2.467, allocations: 11.98 kB / 0.9049 GB, free: 2.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002025/2.469, allocations: 278.3 kB / 0.9051 GB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008613/2.469, allocations: 131.8 kB / 0.9053 GB, free: 2.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/2.471, allocations: 1.371 MB / 0.9066 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/2.472, allocations: 35.98 kB / 0.9066 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/2.472, allocations: 40.12 kB / 0.9067 GB, free: 0.6719 MB / 426.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.0005135/2.473, allocations: 265.2 kB / 0.9069 GB, free: 412 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/2.473, allocations: 71.16 kB / 0.907 GB, free: 340 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3207/2.794, allocations: 0.6889 MB / 0.9077 GB, free: 59.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/2.794, allocations: 5.656 kB / 0.9077 GB, free: 59.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/2.794, allocations: 0 / 0.9077 GB, free: 59.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/2.794, allocations: 0 / 0.9077 GB, free: 59.63 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/2.797, allocations: 1.201 MB / 0.9088 GB, free: 59.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/2.797, allocations: 1.812 kB / 0.9089 GB, free: 59.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/2.798, allocations: 40.89 kB / 0.9089 GB, free: 59.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/2.799, allocations: 197.3 kB / 0.9091 GB, free: 59.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/2.799, allocations: 9.562 kB / 0.9091 GB, free: 59.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/2.801, allocations: 1.293 MB / 0.9104 GB, free: 58.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/2.801, allocations: 1.125 kB / 0.9104 GB, free: 58.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/2.803, allocations: 0.8105 MB / 0.9111 GB, free: 58.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000503/2.803, allocations: 197.1 kB / 0.9113 GB, free: 57.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/2.803, allocations: 6 kB / 0.9113 GB, free: 57.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000692/2.804, allocations: 25.62 kB / 0.9114 GB, free: 57.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/2.804, allocations: 20.48 kB / 0.9114 GB, free: 57.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.342e-05/2.804, allocations: 25.89 kB / 0.9114 GB, free: 57.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009617/2.805, allocations: 441.2 kB / 0.9118 GB, free: 57.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.51e-07/2.805, allocations: 0 / 0.9118 GB, free: 57.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002169/2.808, allocations: 368.7 kB / 0.9122 GB, free: 57.87 MB / 426.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.00421/2.812, allocations: 1.83 MB / 0.914 GB, free: 57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001937/2.814, allocations: 0.5165 MB / 0.9145 GB, free: 57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/2.814, allocations: 2.844 kB / 0.9145 GB, free: 57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008348/2.815, allocations: 211.5 kB / 0.9147 GB, free: 57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/2.817, allocations: 297 kB / 0.915 GB, free: 56.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/2.829, allocations: 11.34 MB / 0.926 GB, free: 48.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/2.829, allocations: 0.9452 MB / 0.927 GB, free: 47.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001417/2.831, allocations: 256.3 kB / 0.9272 GB, free: 47.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005406/2.831, allocations: 236 kB / 0.9274 GB, free: 47.76 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/2.831, allocations: 0 / 0.9274 GB, free: 47.76 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08204/2.913, allocations: 22 MB / 0.9489 GB, free: 47.12 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/2.914, allocations: 271.9 kB / 0.9492 GB, free: 46.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.428/6.341, allocations: 0 / 0.9492 GB, free: 46.77 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat