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.001325/0.001325, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.2 MB / 245 MB, free: 7.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001413/0.001413, allocations: 104.9 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4757/0.4757, allocations: 45.23 MB / 394.7 MB, free: 31.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002913, allocations: 8 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4045, allocations: 63.23 MB / 0.5193 GB, free: 43.49 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.28/1.685, allocations: 0.5119 GB / 1.031 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004561/1.685, allocations: 101.1 kB / 1.031 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.8489/2.534, allocations: 220.6 MB / 1.247 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.454e-06/2.534, allocations: 0 / 1.247 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.233e-05/2.534, allocations: 15.5 kB / 1.247 GB, free: 106.4 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.002951/2.537, allocations: 1.127 MB / 1.248 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.743e-05/2.537, allocations: 11.22 kB / 1.248 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/2.538, allocations: 101.5 kB / 1.248 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008764/2.538, allocations: 144.4 kB / 1.248 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/2.54, allocations: 0.5382 MB / 1.249 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/2.54, allocations: 103 kB / 1.249 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-05/2.54, allocations: 45.88 kB / 1.249 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/2.541, allocations: 0.8196 MB / 1.25 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/2.542, allocations: 3.938 kB / 1.25 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.931e-05/2.542, allocations: 19.88 kB / 1.25 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.675e-05/2.542, allocations: 44.22 kB / 1.25 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/2.543, allocations: 0.6193 MB / 1.25 GB, free: 103.9 MB / 0.5417 GB 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.004413/2.547, allocations: 3.965 MB / 1.254 GB, free: 100.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/2.548, allocations: 331.5 kB / 1.254 GB, free: 99.91 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/2.548, allocations: 89.38 kB / 1.255 GB, free: 99.81 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/2.548, allocations: 38.84 kB / 1.255 GB, free: 99.76 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/2.548, allocations: 0 / 1.255 GB, free: 99.76 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39): time 0.005543/2.553, allocations: 1.659 MB / 1.256 GB, free: 98.03 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/2.554, allocations: 136.5 kB / 1.256 GB, free: 97.87 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006389/2.554, allocations: 0.5382 MB / 1.257 GB, free: 97.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/2.554, allocations: 41.64 kB / 1.257 GB, free: 97.27 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/2.554, allocations: 366.6 kB / 1.257 GB, free: 96.91 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/2.555, allocations: 141.9 kB / 1.257 GB, free: 96.78 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/2.555, allocations: 16 kB / 1.257 GB, free: 96.76 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001238/2.555, allocations: 374.7 kB / 1.258 GB, free: 96.39 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/2.555, allocations: 201.9 kB / 1.258 GB, free: 96.19 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/2.556, allocations: 0.5047 MB / 1.258 GB, free: 95.54 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/2.556, allocations: 288.4 kB / 1.259 GB, free: 95.25 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/2.556, allocations: 8 kB / 1.259 GB, free: 95.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001321/2.557, allocations: 0.8683 MB / 1.26 GB, free: 94.37 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/2.557, allocations: 8.219 kB / 1.26 GB, free: 94.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/2.557, allocations: 16 kB / 1.26 GB, free: 94.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/2.559, allocations: 330.7 kB / 1.26 GB, free: 94.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/2.559, allocations: 119.8 kB / 1.26 GB, free: 93.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009535/2.56, allocations: 0.9249 MB / 1.261 GB, free: 92.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006334/2.561, allocations: 47.88 kB / 1.261 GB, free: 92.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.286e-05/2.561, allocations: 71.98 kB / 1.261 GB, free: 92.84 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 () * Number of clocked 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.0003759/2.561, allocations: 245.6 kB / 1.261 GB, free: 92.59 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/2.561, allocations: 75.17 kB / 1.261 GB, free: 92.51 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/2.563, allocations: 0.855 MB / 1.262 GB, free: 91.64 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/2.563, allocations: 4 kB / 1.262 GB, free: 91.64 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/2.563, allocations: 0 / 1.262 GB, free: 91.64 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/2.563, allocations: 0 / 1.262 GB, free: 91.64 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/2.565, allocations: 1.444 MB / 1.264 GB, free: 90.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/2.565, allocations: 0 / 1.264 GB, free: 90.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/2.566, allocations: 211.7 kB / 1.264 GB, free: 89.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/2.566, allocations: 32.94 kB / 1.264 GB, free: 89.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-05/2.566, allocations: 19.98 kB / 1.264 GB, free: 89.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/2.568, allocations: 2.684 MB / 1.266 GB, free: 86.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/2.568, allocations: 8.094 kB / 1.266 GB, free: 86.85 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/2.569, allocations: 0.8721 MB / 1.267 GB, free: 85.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/2.569, allocations: 192.2 kB / 1.267 GB, free: 85.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.725e-05/2.569, allocations: 12 kB / 1.267 GB, free: 85.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/2.57, allocations: 24.05 kB / 1.268 GB, free: 85.66 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/2.57, allocations: 51.89 kB / 1.268 GB, free: 85.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.9e-05/2.57, allocations: 43.98 kB / 1.268 GB, free: 85.57 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005683/2.571, allocations: 431 kB / 1.268 GB, free: 85.15 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/2.571, allocations: 0 / 1.268 GB, free: 85.15 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001783/2.572, allocations: 335.9 kB / 1.268 GB, free: 84.82 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 () * 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.004149/2.576, allocations: 2.657 MB / 1.271 GB, free: 82.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001481/2.578, allocations: 0.5396 MB / 1.271 GB, free: 81.69 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/2.578, allocations: 0.5625 kB / 1.271 GB, free: 81.69 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/2.579, allocations: 402.8 kB / 1.272 GB, free: 81.29 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/2.581, allocations: 338 kB / 1.272 GB, free: 80.96 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/2.593, allocations: 10.88 MB / 1.283 GB, free: 69.81 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000827/2.594, allocations: 0.9417 MB / 1.284 GB, free: 68.84 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002588/2.596, allocations: 459.8 kB / 1.284 GB, free: 68.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/2.598, allocations: 287.3 kB / 1.284 GB, free: 68.11 MB / 0.5417 GB Notification: Performance of SimCode: time 5.35e-06/2.598, allocations: 3.938 kB / 1.284 GB, free: 68.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0995/2.697, allocations: 34.86 MB / 1.318 GB, free: 33.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005484/2.698, allocations: 271.2 kB / 1.319 GB, free: 33.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.447/6.145, allocations: 0 / 1.319 GB, free: 33.16 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)