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.001177/0.001177, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008417/0.0008421, allocations: 89.25 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1776/0.1776, allocations: 45.15 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.562e-05/2.564e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08969/0.08973, allocations: 63.25 MB / 0.5115 GB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.124/1.214, allocations: 0.5119 GB / 1.023 GB, free: 168.9 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/1.214, allocations: 87.95 kB / 1.023 GB, free: 168.8 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.6113/1.825, allocations: 220.1 MB / 1.238 GB, free: 125.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.72e-07/1.826, allocations: 2.734 kB / 1.238 GB, free: 125.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.905e-05/1.826, allocations: 16.62 kB / 1.238 GB, free: 125.2 MB / 0.5417 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.00195/1.828, allocations: 1.043 MB / 1.239 GB, free: 124.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/1.828, allocations: 14.73 kB / 1.239 GB, free: 124.6 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/1.828, allocations: 93.62 kB / 1.239 GB, free: 124.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007098/1.828, allocations: 126.9 kB / 1.24 GB, free: 124.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009076/1.829, allocations: 0.552 MB / 1.24 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.711e-05/1.829, allocations: 105.1 kB / 1.24 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.168e-05/1.83, allocations: 47.78 kB / 1.24 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009462/1.83, allocations: 0.8048 MB / 1.241 GB, free: 124 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/1.83, allocations: 3.188 kB / 1.241 GB, free: 124 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.656e-05/1.831, allocations: 26.31 kB / 1.241 GB, free: 124 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/1.831, allocations: 35.11 kB / 1.241 GB, free: 124 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007699/1.831, allocations: 0.6039 MB / 1.242 GB, free: 124 MB / 0.5417 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.003085/1.834, allocations: 3.97 MB / 1.246 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/1.835, allocations: 334.5 kB / 1.246 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/1.835, allocations: 169.1 kB / 1.246 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.286e-05/1.835, allocations: 92.16 kB / 1.246 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/1.835, allocations: 38.12 kB / 1.246 GB, free: 121.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.894e-06/1.835, allocations: 0 / 1.246 GB, free: 121.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39): time 0.004359/1.84, allocations: 1.512 MB / 1.248 GB, free: 120.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/1.84, allocations: 135.8 kB / 1.248 GB, free: 120.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004728/1.84, allocations: 0.5286 MB / 1.248 GB, free: 120.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/1.84, allocations: 36.61 kB / 1.248 GB, free: 120.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/1.84, allocations: 371.8 kB / 1.249 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.97e-05/1.84, allocations: 145 kB / 1.249 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/1.84, allocations: 14.03 kB / 1.249 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.005e-05/1.841, allocations: 377.5 kB / 1.249 GB, free: 119.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/1.841, allocations: 192 kB / 1.249 GB, free: 119.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/1.841, allocations: 0.5036 MB / 1.25 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/1.842, allocations: 286.2 kB / 1.25 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.842, allocations: 4.719 kB / 1.25 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001043/1.843, allocations: 0.856 MB / 1.251 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/1.843, allocations: 12.17 kB / 1.251 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/1.843, allocations: 10.59 kB / 1.251 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/1.844, allocations: 310.4 kB / 1.251 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/1.844, allocations: 119.2 kB / 1.251 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007456/1.845, allocations: 0.9189 MB / 1.252 GB, free: 118.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/1.845, allocations: 51.03 kB / 1.252 GB, free: 118.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.161e-05/1.845, allocations: 72.69 kB / 1.252 GB, free: 118.8 MB / 0.5417 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.0001211/1.846, allocations: 155.5 kB / 1.253 GB, free: 118.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.712e-05/1.846, allocations: 74.39 kB / 1.253 GB, free: 118.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/1.847, allocations: 0.8519 MB / 1.254 GB, free: 118.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/1.847, allocations: 3.969 kB / 1.254 GB, free: 118.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.847, allocations: 0 / 1.254 GB, free: 118.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/1.847, allocations: 6.938 kB / 1.254 GB, free: 118.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/1.849, allocations: 1.436 MB / 1.255 GB, free: 117.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.849, allocations: 7.125 kB / 1.255 GB, free: 117.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009224/1.849, allocations: 208.6 kB / 1.255 GB, free: 117.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.388e-05/1.85, allocations: 27.08 kB / 1.255 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/1.85, allocations: 26.69 kB / 1.255 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/1.851, allocations: 2.678 MB / 1.258 GB, free: 115 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.851, allocations: 3.844 kB / 1.258 GB, free: 115 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008393/1.852, allocations: 0.8632 MB / 1.259 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/1.852, allocations: 178.2 kB / 1.259 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.004e-05/1.852, allocations: 7.562 kB / 1.259 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/1.852, allocations: 32.56 kB / 1.259 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.449e-05/1.852, allocations: 40.7 kB / 1.259 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/1.852, allocations: 42.11 kB / 1.259 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003503/1.853, allocations: 428.5 kB / 1.259 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/1.853, allocations: 0 / 1.259 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009263/1.854, allocations: 332.2 kB / 1.26 GB, free: 114.1 MB / 0.5417 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.002155/1.856, allocations: 2.657 MB / 1.262 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008024/1.857, allocations: 0.5331 MB / 1.263 GB, free: 112.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.857, allocations: 0 / 1.263 GB, free: 112.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007283/1.857, allocations: 404.8 kB / 1.263 GB, free: 112.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/1.859, allocations: 338.4 kB / 1.263 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/1.861, allocations: 1.141 MB / 1.265 GB, free: 111.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/1.861, allocations: 0.9438 MB / 1.266 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00106/1.862, allocations: 473 kB / 1.266 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/1.862, allocations: 286.6 kB / 1.266 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of SimCode: time 6.91e-07/1.862, allocations: 0 / 1.266 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04467/1.907, allocations: 37.26 MB / 1.303 GB, free: 97.62 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/1.907, allocations: 245.5 kB / 1.303 GB, free: 97.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.841/4.748, allocations: 3.938 kB / 1.303 GB, free: 97.29 MB / 0.5417 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)