Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001778/0.001778, allocations: 196.2 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008789/0.000879, allocations: 100.2 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2033/0.2033, allocations: 45.14 MB / 383.8 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.613e-05/1.616e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.43/1.546, allocations: 0.5112 GB / 1.016 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/1.547, allocations: 94.06 kB / 1.016 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7776/2.324, allocations: 217.6 MB / 1.228 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.843e-06/2.324, allocations: 0 / 1.228 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.526e-05/2.324, allocations: 14.94 kB / 1.228 GB, free: 118.4 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.002211/2.326, allocations: 1.051 MB / 1.229 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.586e-05/2.326, allocations: 15.55 kB / 1.229 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007482/2.327, allocations: 132.5 kB / 1.229 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008749/2.328, allocations: 0.5395 MB / 1.23 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.885e-05/2.328, allocations: 87.09 kB / 1.23 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.609e-05/2.328, allocations: 26.84 kB / 1.23 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007652/2.329, allocations: 0.5261 MB / 1.231 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009354/2.33, allocations: 0.7327 MB / 1.231 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/2.33, allocations: 3.906 kB / 1.231 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.657e-05/2.33, allocations: 9.547 kB / 1.231 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.228e-05/2.33, allocations: 43.92 kB / 1.231 GB, free: 116.7 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.003614/2.334, allocations: 3.971 MB / 1.235 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/2.334, allocations: 256.2 kB / 1.235 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/2.334, allocations: 134.1 kB / 1.236 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.875e-05/2.334, allocations: 85.12 kB / 1.236 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/2.334, allocations: 42.41 kB / 1.236 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.164e-06/2.334, allocations: 6.562 kB / 1.236 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.004653/2.339, allocations: 1.377 MB / 1.237 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/2.339, allocations: 136.5 kB / 1.237 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004604/2.34, allocations: 468.1 kB / 1.238 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/2.34, allocations: 25.7 kB / 1.238 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/2.34, allocations: 400.2 kB / 1.238 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.773e-05/2.34, allocations: 113.5 kB / 1.238 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/2.34, allocations: 0 / 1.238 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.771e-05/2.34, allocations: 369.2 kB / 1.239 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/2.34, allocations: 177.6 kB / 1.239 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/2.341, allocations: 490.2 kB / 1.239 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/2.341, allocations: 303.7 kB / 1.239 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/2.341, allocations: 3.906 kB / 1.239 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001182/2.342, allocations: 0.7947 MB / 1.24 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/2.342, allocations: 11.34 kB / 1.24 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/2.342, allocations: 11.69 kB / 1.24 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/2.344, allocations: 280.2 kB / 1.241 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/2.344, allocations: 120.5 kB / 1.241 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008611/2.345, allocations: 0.9484 MB / 1.242 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005269/2.345, allocations: 32.88 kB / 1.242 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.591e-05/2.345, allocations: 68.95 kB / 1.242 GB, free: 109.7 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.0001517/2.346, allocations: 134.2 kB / 1.242 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006705/2.346, allocations: 417.9 kB / 1.242 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.111e-05/2.346, allocations: 55.22 kB / 1.242 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/2.347, allocations: 0.5967 MB / 1.243 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/2.347, allocations: 3.875 kB / 1.243 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/2.347, allocations: 0 / 1.243 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/2.348, allocations: 3.516 kB / 1.243 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/2.349, allocations: 0.9817 MB / 1.244 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/2.349, allocations: 7.906 kB / 1.244 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009576/2.35, allocations: 195 kB / 1.244 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.585e-05/2.35, allocations: 30.34 kB / 1.244 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/2.35, allocations: 17.03 kB / 1.244 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/2.351, allocations: 2.582 MB / 1.247 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/2.351, allocations: 0 / 1.247 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007982/2.352, allocations: 0.6857 MB / 1.247 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/2.352, allocations: 177.1 kB / 1.247 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.845e-05/2.352, allocations: 3.219 kB / 1.247 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/2.353, allocations: 19.53 kB / 1.247 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/2.353, allocations: 35.25 kB / 1.247 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/2.353, allocations: 37.19 kB / 1.247 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000348/2.353, allocations: 339.8 kB / 1.248 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.6e-07/2.353, allocations: 2.969 kB / 1.248 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001208/2.355, allocations: 296.8 kB / 1.248 GB, free: 105.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (34): * Single equations (assignments): 32 * 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.002645/2.357, allocations: 2.265 MB / 1.25 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009789/2.358, allocations: 483.8 kB / 1.251 GB, free: 104 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/2.358, allocations: 3.906 kB / 1.251 GB, free: 104 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007819/2.359, allocations: 363 kB / 1.251 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/2.36, allocations: 244 kB / 1.251 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/2.362, allocations: 1.047 MB / 1.252 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/2.363, allocations: 0.9466 MB / 1.253 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00107/2.364, allocations: 417.3 kB / 1.254 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004594/2.364, allocations: 269.2 kB / 1.254 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/2.364, allocations: 0 / 1.254 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05053/2.415, allocations: 24.77 MB / 1.278 GB, free: 87.49 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/2.415, allocations: 196.5 kB / 1.278 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.843/5.258, allocations: 0 / 1.278 GB, free: 87.3 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1)