Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 221.4 MB / 236 MB, free: 2.926 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009075/0.0009075, allocations: 87.55 kB / 287 MB, free: 196 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2352/0.2352, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.79e-05/4.791e-05, allocations: 4.219 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.148, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.51/1.658, allocations: 0.5108 GB / 1.013 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/1.659, allocations: 87.95 kB / 1.013 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8271/2.486, allocations: 219.2 MB / 1.227 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.916e-06/2.486, allocations: 0 / 1.227 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.971e-05/2.486, allocations: 23.91 kB / 1.227 GB, free: 115.5 MB / 0.5261 GB 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.00249/2.488, allocations: 1.034 MB / 1.228 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/2.488, allocations: 11.88 kB / 1.228 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/2.489, allocations: 96.64 kB / 1.228 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007847/2.489, allocations: 137.9 kB / 1.228 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/2.49, allocations: 0.5395 MB / 1.229 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/2.491, allocations: 102.8 kB / 1.229 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/2.491, allocations: 50.56 kB / 1.229 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/2.492, allocations: 0.8103 MB / 1.23 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/2.492, allocations: 0 / 1.23 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.941e-05/2.492, allocations: 27.69 kB / 1.23 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.125e-05/2.492, allocations: 39.89 kB / 1.23 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008686/2.493, allocations: 0.6068 MB / 1.23 GB, free: 113.2 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.003964/2.497, allocations: 3.928 MB / 1.234 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/2.497, allocations: 331.9 kB / 1.234 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/2.498, allocations: 167.2 kB / 1.235 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/2.498, allocations: 97.16 kB / 1.235 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/2.498, allocations: 34.84 kB / 1.235 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.066e-06/2.498, allocations: 3.844 kB / 1.235 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.005207/2.503, allocations: 1.523 MB / 1.236 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.487e-05/2.503, allocations: 144.4 kB / 1.236 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007115/2.504, allocations: 0.5308 MB / 1.237 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/2.504, allocations: 33.58 kB / 1.237 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/2.504, allocations: 358.1 kB / 1.237 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.403e-05/2.504, allocations: 153.5 kB / 1.237 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/2.504, allocations: 11.75 kB / 1.237 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001055/2.504, allocations: 374.3 kB / 1.238 GB, free: 107 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/2.505, allocations: 190.8 kB / 1.238 GB, free: 107 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/2.505, allocations: 0.5097 MB / 1.238 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/2.506, allocations: 292.1 kB / 1.239 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/2.506, allocations: 0 / 1.239 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001226/2.507, allocations: 0.849 MB / 1.239 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/2.507, allocations: 12 kB / 1.239 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/2.507, allocations: 11.95 kB / 1.239 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/2.508, allocations: 301 kB / 1.24 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/2.509, allocations: 127.8 kB / 1.24 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008838/2.509, allocations: 0.9216 MB / 1.241 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006656/2.51, allocations: 47.92 kB / 1.241 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.27e-05/2.51, allocations: 68.05 kB / 1.241 GB, free: 104.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0001805/2.51, allocations: 157 kB / 1.241 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/2.511, allocations: 67.16 kB / 1.241 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/2.512, allocations: 0.859 MB / 1.242 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/2.512, allocations: 4 kB / 1.242 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/2.512, allocations: 7.891 kB / 1.242 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/2.512, allocations: 0 / 1.242 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/2.514, allocations: 1.437 MB / 1.243 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/2.514, allocations: 0 / 1.243 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009896/2.515, allocations: 215.9 kB / 1.244 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001178/2.515, allocations: 24.84 kB / 1.244 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/2.515, allocations: 16 kB / 1.244 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/2.517, allocations: 2.688 MB / 1.246 GB, free: 98.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/2.517, allocations: 4.031 kB / 1.246 GB, free: 98.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/2.518, allocations: 0.8624 MB / 1.247 GB, free: 97.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003568/2.519, allocations: 180.3 kB / 1.247 GB, free: 97.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.74e-05/2.519, allocations: 12.06 kB / 1.247 GB, free: 97.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/2.519, allocations: 35.88 kB / 1.247 GB, free: 97.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.234e-05/2.519, allocations: 43.84 kB / 1.247 GB, free: 96.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.369e-05/2.519, allocations: 43.98 kB / 1.247 GB, free: 96.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005045/2.52, allocations: 423.2 kB / 1.248 GB, free: 96.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/2.52, allocations: 0 / 1.248 GB, free: 96.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001659/2.521, allocations: 327.9 kB / 1.248 GB, free: 96.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete 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.003587/2.525, allocations: 2.651 MB / 1.251 GB, free: 93.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001145/2.526, allocations: 0.5391 MB / 1.251 GB, free: 93.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/2.526, allocations: 0 / 1.251 GB, free: 93.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007972/2.527, allocations: 398.3 kB / 1.252 GB, free: 92.67 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/2.529, allocations: 337.7 kB / 1.252 GB, free: 92.35 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/2.531, allocations: 1.146 MB / 1.253 GB, free: 91.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/2.531, allocations: 0.9495 MB / 1.254 GB, free: 90.16 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001198/2.532, allocations: 467.8 kB / 1.254 GB, free: 89.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/2.533, allocations: 283.3 kB / 1.255 GB, free: 89.43 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/2.533, allocations: 0 / 1.255 GB, free: 89.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06469/2.598, allocations: 37.24 MB / 1.291 GB, free: 52.37 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/2.598, allocations: 252.6 kB / 1.291 GB, free: 52.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.42/6.018, allocations: 3.938 kB / 1.291 GB, free: 52.02 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1)