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.001297/0.001297, allocations: 175.8 kB / 17.06 MB, free: 5.098 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.562/1.562, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.00118, allocations: 98.75 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3742/0.3742, allocations: 44.22 MB / 387.5 MB, free: 38.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 8 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4485, allocations: 61.9 MB / 0.5097 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.563, allocations: 0.5109 GB / 1.021 GB, free: 59.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004254/1.564, allocations: 102.6 kB / 1.021 GB, free: 59.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8178/2.382, allocations: 219.8 MB / 1.235 GB, free: 61.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.354e-06/2.382, allocations: 4 kB / 1.235 GB, free: 61.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.141e-05/2.382, allocations: 24.14 kB / 1.235 GB, free: 61.34 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.002464/2.384, allocations: 1.116 MB / 1.236 GB, free: 60.17 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/2.384, allocations: 8.031 kB / 1.236 GB, free: 60.16 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/2.384, allocations: 106.5 kB / 1.236 GB, free: 60.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007413/2.385, allocations: 127.1 kB / 1.237 GB, free: 59.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000939/2.386, allocations: 0.5405 MB / 1.237 GB, free: 59.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-05/2.386, allocations: 100.4 kB / 1.237 GB, free: 59.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.819e-05/2.386, allocations: 59.84 kB / 1.237 GB, free: 59.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/2.387, allocations: 0.819 MB / 1.238 GB, free: 58.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/2.387, allocations: 4 kB / 1.238 GB, free: 58.27 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.955e-05/2.387, allocations: 24 kB / 1.238 GB, free: 58.24 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/2.388, allocations: 40.92 kB / 1.238 GB, free: 58.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008506/2.388, allocations: 0.6127 MB / 1.239 GB, free: 57.59 MB / 0.5261 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.003341/2.392, allocations: 3.933 MB / 1.243 GB, free: 53.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004335/2.392, allocations: 327.5 kB / 1.243 GB, free: 53.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/2.392, allocations: 97.31 kB / 1.243 GB, free: 52.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/2.392, allocations: 46.77 kB / 1.243 GB, free: 52.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 1.863e-06/2.392, allocations: 0 / 1.243 GB, free: 52.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.004997/2.397, allocations: 1.65 MB / 1.245 GB, free: 51.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/2.397, allocations: 136.5 kB / 1.245 GB, free: 51.02 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005222/2.398, allocations: 0.5421 MB / 1.245 GB, free: 50.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/2.398, allocations: 37.7 kB / 1.245 GB, free: 50.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/2.398, allocations: 362.9 kB / 1.246 GB, free: 50.06 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.378e-05/2.398, allocations: 142 kB / 1.246 GB, free: 49.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/2.398, allocations: 16 kB / 1.246 GB, free: 49.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.562e-05/2.398, allocations: 374.8 kB / 1.246 GB, free: 49.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/2.399, allocations: 197.9 kB / 1.246 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/2.399, allocations: 0.5008 MB / 1.247 GB, free: 48.69 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/2.4, allocations: 300.4 kB / 1.247 GB, free: 48.39 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/2.4, allocations: 4 kB / 1.247 GB, free: 48.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00116/2.401, allocations: 0.8687 MB / 1.248 GB, free: 47.51 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/2.401, allocations: 15.89 kB / 1.248 GB, free: 47.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/2.401, allocations: 12 kB / 1.248 GB, free: 47.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/2.402, allocations: 306.9 kB / 1.248 GB, free: 47.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/2.402, allocations: 127.8 kB / 1.248 GB, free: 47.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008766/2.403, allocations: 0.9312 MB / 1.249 GB, free: 46.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/2.404, allocations: 43.89 kB / 1.249 GB, free: 46.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.752e-05/2.404, allocations: 63.98 kB / 1.249 GB, free: 46 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 () * 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.0003067/2.404, allocations: 257.5 kB / 1.25 GB, free: 45.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/2.404, allocations: 67.19 kB / 1.25 GB, free: 45.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/2.406, allocations: 0.8512 MB / 1.251 GB, free: 44.79 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/2.406, allocations: 11.89 kB / 1.251 GB, free: 44.78 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/2.406, allocations: 4 kB / 1.251 GB, free: 44.78 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/2.406, allocations: 3.984 kB / 1.251 GB, free: 44.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/2.408, allocations: 1.441 MB / 1.252 GB, free: 43.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/2.408, allocations: 4 kB / 1.252 GB, free: 43.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009557/2.409, allocations: 207.8 kB / 1.252 GB, free: 42.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.281e-05/2.409, allocations: 29.02 kB / 1.252 GB, free: 42.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/2.409, allocations: 20 kB / 1.252 GB, free: 42.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/2.41, allocations: 2.696 MB / 1.255 GB, free: 39.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/2.41, allocations: 0 / 1.255 GB, free: 39.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/2.411, allocations: 0.8838 MB / 1.256 GB, free: 39.03 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/2.412, allocations: 188.2 kB / 1.256 GB, free: 38.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.411e-05/2.412, allocations: 8 kB / 1.256 GB, free: 38.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/2.412, allocations: 36 kB / 1.256 GB, free: 38.78 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.85e-05/2.412, allocations: 35.95 kB / 1.256 GB, free: 38.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.447e-05/2.412, allocations: 47.97 kB / 1.256 GB, free: 38.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004617/2.413, allocations: 427 kB / 1.256 GB, free: 38.29 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.082e-06/2.413, allocations: 4 kB / 1.256 GB, free: 38.28 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001579/2.414, allocations: 331.8 kB / 1.257 GB, free: 37.96 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 () * 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.002883/2.417, allocations: 2.659 MB / 1.259 GB, free: 35.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001075/2.418, allocations: 0.547 MB / 1.26 GB, free: 34.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/2.418, allocations: 4 kB / 1.26 GB, free: 34.69 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008216/2.419, allocations: 394.3 kB / 1.26 GB, free: 34.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/2.421, allocations: 342.6 kB / 1.261 GB, free: 33.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006781/2.428, allocations: 10.86 MB / 1.271 GB, free: 22.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/2.428, allocations: 0.9531 MB / 1.272 GB, free: 21.86 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001166/2.429, allocations: 463.7 kB / 1.273 GB, free: 21.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004701/2.43, allocations: 279.3 kB / 1.273 GB, free: 21.12 MB / 0.5261 GB Notification: Performance of SimCode: time 6.71e-07/2.43, allocations: 0 / 1.273 GB, free: 21.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3611/2.791, allocations: 34.84 MB / 1.307 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/2.791, allocations: 278.9 kB / 1.307 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.384/6.175, allocations: 3.234 kB / 1.307 GB, free: 104.8 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)