Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",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.01003/0.01003, allocations: 165.6 kB / 15.11 MB, free: 6 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.642/1.642, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.002084/0.002084, allocations: 107.4 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.443/0.443, allocations: 38.06 MB / 303.7 MB, free: 42.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004814, allocations: 16 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1147, allocations: 48.7 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.601/1.716, allocations: 0.4977 GB / 0.8997 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/1.716, allocations: 95.19 kB / 0.8998 GB, free: 30.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.45/3.166, allocations: 234.9 MB / 1.129 GB, free: 78.47 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.354e-06/3.166, allocations: 0 / 1.129 GB, free: 78.47 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.766e-05/3.166, allocations: 23.3 kB / 1.129 GB, free: 78.47 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.004387/3.171, allocations: 1.198 MB / 1.13 GB, free: 78.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/3.171, allocations: 7 kB / 1.13 GB, free: 78.04 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003965/3.171, allocations: 97.67 kB / 1.131 GB, free: 78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/3.172, allocations: 130 kB / 1.131 GB, free: 77.97 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/3.174, allocations: 0.557 MB / 1.131 GB, free: 77.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/3.174, allocations: 98.03 kB / 1.131 GB, free: 77.67 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/3.175, allocations: 55.59 kB / 1.131 GB, free: 77.67 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/3.177, allocations: 0.8037 MB / 1.132 GB, free: 77.44 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.003e-05/3.177, allocations: 2.906 kB / 1.132 GB, free: 77.44 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/3.177, allocations: 23.06 kB / 1.132 GB, free: 77.44 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.211e-05/3.177, allocations: 38.8 kB / 1.132 GB, free: 77.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/3.179, allocations: 0.6144 MB / 1.133 GB, free: 77.44 MB / 442.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.006833/3.186, allocations: 3.901 MB / 1.137 GB, free: 74.87 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008367/3.187, allocations: 330 kB / 1.137 GB, free: 74.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/3.187, allocations: 27.84 kB / 1.137 GB, free: 74.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/3.187, allocations: 40.59 kB / 1.137 GB, free: 74.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 2.755e-06/3.187, allocations: 0 / 1.137 GB, free: 74.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.009292/3.196, allocations: 1.632 MB / 1.139 GB, free: 74.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/3.196, allocations: 135 kB / 1.139 GB, free: 74.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009212/3.197, allocations: 0.5265 MB / 1.139 GB, free: 74.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.975e-05/3.197, allocations: 34.92 kB / 1.139 GB, free: 74.01 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/3.198, allocations: 377.5 kB / 1.14 GB, free: 73.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/3.198, allocations: 143.6 kB / 1.14 GB, free: 73.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.952e-05/3.198, allocations: 14.84 kB / 1.14 GB, free: 73.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/3.198, allocations: 381.7 kB / 1.14 GB, free: 73.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005496/3.199, allocations: 200.3 kB / 1.14 GB, free: 73.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009008/3.199, allocations: 0.5252 MB / 1.141 GB, free: 73.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007859/3.2, allocations: 307.3 kB / 1.141 GB, free: 73.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/3.2, allocations: 3.25 kB / 1.141 GB, free: 73.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002384/3.203, allocations: 0.8855 MB / 1.142 GB, free: 72.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/3.203, allocations: 7.312 kB / 1.142 GB, free: 72.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/3.203, allocations: 15.78 kB / 1.142 GB, free: 72.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002372/3.205, allocations: 303.8 kB / 1.142 GB, free: 72.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008188/3.206, allocations: 130.7 kB / 1.142 GB, free: 72.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/3.208, allocations: 0.899 MB / 1.143 GB, free: 72.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/3.209, allocations: 55.92 kB / 1.143 GB, free: 72.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/3.209, allocations: 65.97 kB / 1.143 GB, free: 72.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (72): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.000544/3.209, allocations: 251.5 kB / 1.144 GB, free: 72.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/3.21, allocations: 63.25 kB / 1.144 GB, free: 72.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/3.212, allocations: 0.6698 MB / 1.144 GB, free: 72.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/3.212, allocations: 10.34 kB / 1.144 GB, free: 72.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/3.212, allocations: 0.5625 kB / 1.144 GB, free: 72.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/3.212, allocations: 1.875 kB / 1.144 GB, free: 72.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002932/3.215, allocations: 1.265 MB / 1.146 GB, free: 71.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/3.215, allocations: 0 / 1.146 GB, free: 71.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/3.217, allocations: 210 kB / 1.146 GB, free: 71.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000131/3.217, allocations: 26.25 kB / 1.146 GB, free: 71.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.197e-05/3.217, allocations: 22.02 kB / 1.146 GB, free: 71.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/3.219, allocations: 2.691 MB / 1.149 GB, free: 69.15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/3.219, allocations: 2.812 kB / 1.149 GB, free: 69.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/3.221, allocations: 0.8441 MB / 1.149 GB, free: 68.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/3.222, allocations: 183 kB / 1.15 GB, free: 68.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/3.222, allocations: 9.438 kB / 1.15 GB, free: 68.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007339/3.223, allocations: 37.92 kB / 1.15 GB, free: 68.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/3.223, allocations: 35.23 kB / 1.15 GB, free: 68.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/3.223, allocations: 43 kB / 1.15 GB, free: 68.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007371/3.224, allocations: 410.6 kB / 1.15 GB, free: 68.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/3.224, allocations: 3.844 kB / 1.15 GB, free: 68.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002141/3.226, allocations: 379.8 kB / 1.15 GB, free: 68.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (volume.medium.p,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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004899/3.231, allocations: 2.667 MB / 1.153 GB, free: 67.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001953/3.233, allocations: 0.5445 MB / 1.154 GB, free: 67.31 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/3.233, allocations: 0 / 1.154 GB, free: 67.31 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001565/3.234, allocations: 405.6 kB / 1.154 GB, free: 67.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/3.237, allocations: 316.2 kB / 1.154 GB, free: 67.19 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02001/3.257, allocations: 12.9 MB / 1.167 GB, free: 58.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/3.258, allocations: 0.9413 MB / 1.168 GB, free: 57.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002072/3.26, allocations: 270.4 kB / 1.168 GB, free: 57.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008428/3.261, allocations: 265 kB / 1.168 GB, free: 57.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.202e-06/3.261, allocations: 0 / 1.168 GB, free: 57.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09403/3.355, allocations: 35.34 MB / 1.203 GB, free: 56.12 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002936/3.355, allocations: 280.7 kB / 1.203 GB, free: 55.76 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.125/7.481, allocations: 4 kB / 1.203 GB, free: 55.75 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat