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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 96.91 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 176.8 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4767/0.4767, allocations: 43.55 MB / 314.5 MB, free: 8.758 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005354/0.0005359, allocations: 12 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1514, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.5056/0.657, allocations: 142.6 MB / 0.5718 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.6685, allocations: 7.238 MB / 0.5788 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.6703, allocations: 23.81 kB / 0.5789 GB, free: 5.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.6716, allocations: 262.6 kB / 0.5791 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004803/0.6764, allocations: 1.282 MB / 0.5804 GB, free: 3.988 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003526/0.6799, allocations: 0.9838 MB / 0.5813 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001947/0.6819, allocations: 1.043 MB / 0.5823 GB, free: 1.973 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006657/0.6826, allocations: 391.7 kB / 0.5827 GB, free: 1.586 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.6845, allocations: 0.7402 MB / 0.5834 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.6857, allocations: 0.5527 MB / 0.584 GB, free: 296 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.852e-05/0.6858, allocations: 36 kB / 0.584 GB, free: 260 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.6877, allocations: 0.6242 MB / 0.5846 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002546/0.6879, allocations: 215.4 kB / 0.5848 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.6881, allocations: 169.3 kB / 0.585 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.6894, allocations: 0.9862 MB / 0.5859 GB, free: 14.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6894, allocations: 0 / 0.5859 GB, free: 14.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.6894, allocations: 0 / 0.5859 GB, free: 14.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.6895, allocations: 0 / 0.5859 GB, free: 14.27 MB / 462.1 MB 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.002198/0.6917, allocations: 0.9854 MB / 0.5869 GB, free: 13.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.6917, allocations: 16.02 kB / 0.5869 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.6919, allocations: 98.5 kB / 0.587 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008026/0.6927, allocations: 135.8 kB / 0.5871 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008771/0.6936, allocations: 492.5 kB / 0.5876 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.6937, allocations: 104.4 kB / 0.5877 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.6938, allocations: 48 kB / 0.5878 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.6951, allocations: 0.8097 MB / 0.5886 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.6952, allocations: 7.891 kB / 0.5886 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.487e-05/0.6953, allocations: 31.97 kB / 0.5886 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.891e-05/0.6953, allocations: 36.98 kB / 0.5886 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.6964, allocations: 0.6244 MB / 0.5892 GB, free: 10.71 MB / 462.1 MB 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.004821/0.7013, allocations: 3.959 MB / 0.5931 GB, free: 6.508 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005521/0.7018, allocations: 351.6 kB / 0.5934 GB, free: 6.156 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.862e-05/0.7019, allocations: 24.94 kB / 0.5935 GB, free: 6.133 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.702, allocations: 42.83 kB / 0.5935 GB, free: 6.082 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.314e-06/0.702, allocations: 0 / 0.5935 GB, free: 6.082 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.005715/0.7077, allocations: 1.669 MB / 0.5951 GB, free: 4.344 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/0.7078, allocations: 136.5 kB / 0.5953 GB, free: 4.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007777/0.7086, allocations: 0.6093 MB / 0.5959 GB, free: 3.562 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.437e-05/0.7087, allocations: 33.7 kB / 0.5959 GB, free: 3.523 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.709, allocations: 366.9 kB / 0.5962 GB, free: 3.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.7091, allocations: 142 kB / 0.5964 GB, free: 3.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.7092, allocations: 12 kB / 0.5964 GB, free: 3.008 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.7093, allocations: 374.8 kB / 0.5967 GB, free: 2.633 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.7097, allocations: 201.9 kB / 0.5969 GB, free: 2.434 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.7103, allocations: 0.5124 MB / 0.5974 GB, free: 1.777 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/0.7108, allocations: 283.8 kB / 0.5977 GB, free: 1.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.7108, allocations: 4 kB / 0.5977 GB, free: 1.496 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001484/0.7123, allocations: 0.8762 MB / 0.5986 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.7123, allocations: 8 kB / 0.5986 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.7123, allocations: 18.77 kB / 0.5986 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/0.7138, allocations: 325.2 kB / 0.5989 GB, free: 272 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.7143, allocations: 122.8 kB / 0.599 GB, free: 152 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.7154, allocations: 0.9258 MB / 0.5999 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006445/0.7161, allocations: 51.98 kB / 0.6 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.685e-05/0.7162, allocations: 60 kB / 0.6 GB, free: 15.09 MB / 478.1 MB 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.0004259/0.7166, allocations: 253.4 kB / 0.6003 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.7168, allocations: 71.16 kB / 0.6003 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.7183, allocations: 0.6765 MB / 0.601 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.7183, allocations: 4 kB / 0.601 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.7183, allocations: 3.953 kB / 0.601 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.7183, allocations: 3.984 kB / 0.601 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.7204, allocations: 1.262 MB / 0.6022 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.7205, allocations: 4 kB / 0.6022 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.7215, allocations: 203.8 kB / 0.6024 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001064/0.7217, allocations: 32.91 kB / 0.6025 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/0.7217, allocations: 19.98 kB / 0.6025 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.7238, allocations: 2.685 MB / 0.6051 GB, free: 9.504 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7239, allocations: 8.016 kB / 0.6051 GB, free: 9.496 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.7252, allocations: 0.8496 MB / 0.606 GB, free: 8.59 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/0.7255, allocations: 185.6 kB / 0.6061 GB, free: 8.391 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.451e-05/0.7256, allocations: 8 kB / 0.6061 GB, free: 8.383 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/0.726, allocations: 28.03 kB / 0.6062 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/0.7261, allocations: 35.91 kB / 0.6062 GB, free: 8.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.449e-05/0.7262, allocations: 47.97 kB / 0.6062 GB, free: 8.273 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005924/0.7268, allocations: 427 kB / 0.6066 GB, free: 7.859 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7268, allocations: 0 / 0.6066 GB, free: 7.859 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001223/0.7281, allocations: 295.9 kB / 0.6069 GB, free: 7.57 MB / 478.1 MB 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.002628/0.7307, allocations: 1.938 MB / 0.6088 GB, free: 5.586 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.7319, allocations: 0.5333 MB / 0.6093 GB, free: 5.055 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.7319, allocations: 0 / 0.6093 GB, free: 5.055 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009915/0.7329, allocations: 432.3 kB / 0.6098 GB, free: 4.621 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.7345, allocations: 325.2 kB / 0.6101 GB, free: 4.312 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.7448, allocations: 10.84 MB / 0.6206 GB, free: 9.215 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006477/0.7455, allocations: 0.9494 MB / 0.6216 GB, free: 8.238 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00115/0.7466, allocations: 259.6 kB / 0.6218 GB, free: 7.984 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/0.7471, allocations: 271.3 kB / 0.6221 GB, free: 7.719 MB / 494.1 MB Notification: Performance of SimCode: time 1.833e-06/0.7471, allocations: 0 / 0.6221 GB, free: 7.719 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3074/1.055, allocations: 23.74 MB / 0.6453 GB, free: 150.3 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/1.055, allocations: 271.7 kB / 0.6455 GB, free: 150 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/3.381, allocations: 4 kB / 0.6455 GB, free: 150 MB / 494.1 MB (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) Environment - environmentSimulation: 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