Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.002375/0.002375, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.204/2.204, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 78.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2884/0.2884, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.768e-05/4.785e-05, allocations: 4 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1306, allocations: 58.85 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.784/1.915, allocations: 0.5092 GB / 0.9821 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/1.915, allocations: 96.11 kB / 0.9822 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.166/3.082, allocations: 234.5 MB / 1.211 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.014e-06/3.082, allocations: 0 / 1.211 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.751e-05/3.082, allocations: 16 kB / 1.211 GB, free: 104.2 MB / 0.5105 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.003817/3.086, allocations: 1.099 MB / 1.212 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/3.086, allocations: 8.031 kB / 1.212 GB, free: 103 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002392/3.086, allocations: 94.52 kB / 1.212 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/3.087, allocations: 135 kB / 1.213 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/3.089, allocations: 0.5392 MB / 1.213 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/3.09, allocations: 111.1 kB / 1.213 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/3.09, allocations: 46.03 kB / 1.213 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/3.091, allocations: 0.7991 MB / 1.214 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/3.092, allocations: 7.922 kB / 1.214 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/3.092, allocations: 24 kB / 1.214 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.102e-05/3.092, allocations: 44.92 kB / 1.214 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/3.093, allocations: 0.6011 MB / 1.215 GB, free: 100.5 MB / 0.5105 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.006524/3.1, allocations: 3.951 MB / 1.218 GB, free: 96.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007722/3.101, allocations: 333.6 kB / 1.219 GB, free: 96.03 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000375/3.101, allocations: 161.3 kB / 1.219 GB, free: 95.87 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/3.101, allocations: 25.05 kB / 1.219 GB, free: 95.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/3.101, allocations: 38.84 kB / 1.219 GB, free: 95.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.075e-06/3.101, allocations: 4 kB / 1.219 GB, free: 95.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.008845/3.11, allocations: 1.512 MB / 1.221 GB, free: 94.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/3.11, allocations: 140.5 kB / 1.221 GB, free: 94.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009482/3.111, allocations: 0.5268 MB / 1.221 GB, free: 93.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/3.111, allocations: 33.7 kB / 1.221 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/3.112, allocations: 401.2 kB / 1.222 GB, free: 93.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/3.112, allocations: 145.9 kB / 1.222 GB, free: 92.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/3.112, allocations: 12 kB / 1.222 GB, free: 92.92 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.768e-05/3.112, allocations: 338.8 kB / 1.222 GB, free: 92.58 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004956/3.112, allocations: 193.5 kB / 1.222 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006747/3.113, allocations: 0.4948 MB / 1.223 GB, free: 91.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000648/3.114, allocations: 283.5 kB / 1.223 GB, free: 91.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/3.114, allocations: 4 kB / 1.223 GB, free: 91.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001949/3.116, allocations: 0.8225 MB / 1.224 GB, free: 90.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/3.116, allocations: 8 kB / 1.224 GB, free: 90.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/3.116, allocations: 20.14 kB / 1.224 GB, free: 90.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002229/3.118, allocations: 304.6 kB / 1.224 GB, free: 90.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008053/3.119, allocations: 119.8 kB / 1.224 GB, free: 90.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/3.121, allocations: 0.9245 MB / 1.225 GB, free: 89.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/3.122, allocations: 40.05 kB / 1.225 GB, free: 89.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/3.122, allocations: 71.98 kB / 1.225 GB, free: 89.13 MB / 0.5105 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.0002476/3.122, allocations: 160.6 kB / 1.225 GB, free: 88.97 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/3.122, allocations: 67.25 kB / 1.225 GB, free: 88.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/3.125, allocations: 0.6706 MB / 1.226 GB, free: 88.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/3.125, allocations: 4 kB / 1.226 GB, free: 88.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/3.125, allocations: 0 / 1.226 GB, free: 88.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/3.125, allocations: 7.938 kB / 1.226 GB, free: 88.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002716/3.127, allocations: 1.249 MB / 1.227 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/3.127, allocations: 7.984 kB / 1.227 GB, free: 86.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002077/3.13, allocations: 207.9 kB / 1.228 GB, free: 86.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001706/3.13, allocations: 24.84 kB / 1.228 GB, free: 86.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.738e-05/3.13, allocations: 23.98 kB / 1.228 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/3.132, allocations: 2.68 MB / 1.23 GB, free: 83.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/3.132, allocations: 0 / 1.23 GB, free: 83.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/3.134, allocations: 0.8257 MB / 1.231 GB, free: 82.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005069/3.134, allocations: 188.2 kB / 1.231 GB, free: 82.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/3.135, allocations: 8 kB / 1.231 GB, free: 82.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008938/3.136, allocations: 35.98 kB / 1.231 GB, free: 82.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/3.136, allocations: 35.95 kB / 1.231 GB, free: 82.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.942e-05/3.136, allocations: 39.98 kB / 1.231 GB, free: 82.47 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008038/3.137, allocations: 427.1 kB / 1.232 GB, free: 82.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.51e-07/3.137, allocations: 0 / 1.232 GB, free: 82.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002081/3.139, allocations: 371.8 kB / 1.232 GB, free: 81.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.004413/3.143, allocations: 2.592 MB / 1.235 GB, free: 79.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001816/3.145, allocations: 0.5275 MB / 1.235 GB, free: 78.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/3.145, allocations: 0.5 kB / 1.235 GB, free: 78.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/3.147, allocations: 390.3 kB / 1.235 GB, free: 78.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/3.15, allocations: 327.3 kB / 1.236 GB, free: 77.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/3.153, allocations: 1.204 MB / 1.237 GB, free: 76.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/3.154, allocations: 0.9416 MB / 1.238 GB, free: 75.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008864/3.155, allocations: 287.3 kB / 1.238 GB, free: 75.39 MB / 0.5105 GB Notification: Performance of SimCode: time 1.163e-06/3.155, allocations: 0 / 1.238 GB, free: 75.39 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.83/6.984, allocations: 23.68 MB / 1.261 GB, free: 51.69 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat