Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001469/0.001469, allocations: 183.4 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.983/1.983, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001052/0.001052, allocations: 90.84 kB / 270.2 MB, free: 13.37 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.2392/0.2392, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.0003884, allocations: 11.94 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1334, allocations: 58.85 MB / 490.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.303/1.436, allocations: 0.5093 GB / 0.9881 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/1.437, allocations: 96.78 kB / 0.9882 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8111/2.248, allocations: 235 MB / 1.218 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.324e-06/2.248, allocations: 192 / 1.218 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.59e-05/2.248, allocations: 28.09 kB / 1.218 GB, free: 109.1 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.003732/2.252, allocations: 1.178 MB / 1.219 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/2.252, allocations: 11.22 kB / 1.219 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003458/2.252, allocations: 94.52 kB / 1.219 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/2.253, allocations: 146.9 kB / 1.219 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/2.255, allocations: 0.54 MB / 1.22 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/2.255, allocations: 108.1 kB / 1.22 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/2.255, allocations: 49.94 kB / 1.22 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/2.256, allocations: 0.8074 MB / 1.221 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/2.256, allocations: 3.938 kB / 1.221 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/2.256, allocations: 27.91 kB / 1.221 GB, free: 106 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.748e-05/2.256, allocations: 40.94 kB / 1.221 GB, free: 106 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/2.258, allocations: 0.6127 MB / 1.221 GB, free: 105.4 MB / 0.5105 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.004573/2.262, allocations: 3.953 MB / 1.225 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/2.263, allocations: 331.5 kB / 1.225 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/2.263, allocations: 28.67 kB / 1.226 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/2.263, allocations: 38.84 kB / 1.226 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.076e-06/2.263, allocations: 4 kB / 1.226 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.005324/2.268, allocations: 1.647 MB / 1.227 GB, free: 99.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/2.268, allocations: 132.5 kB / 1.227 GB, free: 98.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000637/2.269, allocations: 0.5343 MB / 1.228 GB, free: 98.37 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/2.269, allocations: 37.7 kB / 1.228 GB, free: 98.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/2.269, allocations: 373.7 kB / 1.228 GB, free: 97.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/2.269, allocations: 141.9 kB / 1.228 GB, free: 97.83 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/2.269, allocations: 8 kB / 1.228 GB, free: 97.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001089/2.269, allocations: 382.8 kB / 1.229 GB, free: 97.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/2.27, allocations: 193.9 kB / 1.229 GB, free: 97.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/2.27, allocations: 0.5047 MB / 1.229 GB, free: 96.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/2.271, allocations: 291.7 kB / 1.23 GB, free: 96.31 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/2.271, allocations: 4 kB / 1.23 GB, free: 96.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001254/2.272, allocations: 0.8704 MB / 1.231 GB, free: 95.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/2.272, allocations: 8 kB / 1.231 GB, free: 95.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/2.272, allocations: 12 kB / 1.231 GB, free: 95.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/2.273, allocations: 324.7 kB / 1.231 GB, free: 95.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/2.274, allocations: 127.7 kB / 1.231 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008849/2.275, allocations: 0.9235 MB / 1.232 GB, free: 94.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006603/2.275, allocations: 47.91 kB / 1.232 GB, free: 93.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.38e-05/2.275, allocations: 60 kB / 1.232 GB, free: 93.91 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 () * 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.0003768/2.276, allocations: 253.9 kB / 1.232 GB, free: 93.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/2.276, allocations: 67.16 kB / 1.232 GB, free: 93.58 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/2.277, allocations: 0.671 MB / 1.233 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/2.277, allocations: 11.98 kB / 1.233 GB, free: 92.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/2.277, allocations: 4 kB / 1.233 GB, free: 92.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/2.277, allocations: 7.984 kB / 1.233 GB, free: 92.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/2.279, allocations: 1.253 MB / 1.234 GB, free: 91.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/2.279, allocations: 4.031 kB / 1.234 GB, free: 91.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009577/2.28, allocations: 207.8 kB / 1.234 GB, free: 91.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.035e-05/2.28, allocations: 24.84 kB / 1.234 GB, free: 91.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.495e-05/2.28, allocations: 23.98 kB / 1.234 GB, free: 91.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/2.282, allocations: 2.688 MB / 1.237 GB, free: 88.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/2.282, allocations: 0 / 1.237 GB, free: 88.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/2.283, allocations: 0.8455 MB / 1.238 GB, free: 87.42 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003867/2.283, allocations: 180.3 kB / 1.238 GB, free: 87.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/2.283, allocations: 16.06 kB / 1.238 GB, free: 87.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005176/2.284, allocations: 31.88 kB / 1.238 GB, free: 87.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/2.284, allocations: 35.95 kB / 1.238 GB, free: 87.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.317e-05/2.284, allocations: 39.98 kB / 1.238 GB, free: 87.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005573/2.285, allocations: 431 kB / 1.239 GB, free: 86.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.01e-07/2.285, allocations: 0 / 1.239 GB, free: 86.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001721/2.286, allocations: 395.4 kB / 1.239 GB, free: 86.3 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 () * 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.003643/2.29, allocations: 2.588 MB / 1.241 GB, free: 83.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001254/2.291, allocations: 0.5367 MB / 1.242 GB, free: 83.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/2.291, allocations: 0 / 1.242 GB, free: 83.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009842/2.292, allocations: 394.3 kB / 1.242 GB, free: 82.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/2.294, allocations: 335.3 kB / 1.243 GB, free: 82.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008846/2.303, allocations: 10.87 MB / 1.253 GB, free: 71.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/2.304, allocations: 0.9495 MB / 1.254 GB, free: 70.43 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00122/2.305, allocations: 261.9 kB / 1.255 GB, free: 70.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005037/2.306, allocations: 275.3 kB / 1.255 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of SimCode: time 6.71e-07/2.306, allocations: 0 / 1.255 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06561/2.371, allocations: 35.95 MB / 1.29 GB, free: 33.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/2.371, allocations: 277.1 kB / 1.29 GB, free: 33.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.357/5.729, allocations: 0 / 1.29 GB, free: 33.6 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat