Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",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.001617/0.001617, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009093/0.0009092, allocations: 80.14 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.95e-05/1.952e-05, allocations: 4 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1031, allocations: 47.59 MB / 363.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.162, allocations: 366.6 MB / 0.7127 GB, free: 126.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/1.162, allocations: 97.86 kB / 0.7128 GB, free: 126.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1354/1.298, allocations: 79.66 MB / 0.7906 GB, free: 71.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.934e-06/1.298, allocations: 0 / 0.7906 GB, free: 71.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.081e-05/1.298, allocations: 4 kB / 0.7906 GB, free: 71.97 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001111/1.299, allocations: 0.6083 MB / 0.7912 GB, free: 71.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/1.299, allocations: 8.031 kB / 0.7912 GB, free: 71.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/1.299, allocations: 35.72 kB / 0.7913 GB, free: 71.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/1.3, allocations: 274.5 kB / 0.7915 GB, free: 70.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/1.3, allocations: 11.95 kB / 0.7915 GB, free: 70.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/1.3, allocations: 16 kB / 0.7915 GB, free: 70.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003198/1.3, allocations: 173.1 kB / 0.7917 GB, free: 70.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/1.3, allocations: 250.6 kB / 0.7919 GB, free: 70.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/1.3, allocations: 0 / 0.7919 GB, free: 70.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/1.3, allocations: 4 kB / 0.792 GB, free: 70.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/1.3, allocations: 8 kB / 0.792 GB, free: 70.49 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/1.302, allocations: 1.377 MB / 0.7933 GB, free: 69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/1.302, allocations: 159.1 kB / 0.7935 GB, free: 68.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/1.302, allocations: 77.23 kB / 0.7935 GB, free: 68.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/1.303, allocations: 4.188 kB / 0.7935 GB, free: 68.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/1.303, allocations: 42.64 kB / 0.7936 GB, free: 68.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/1.303, allocations: 4 kB / 0.7936 GB, free: 68.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.001695/1.304, allocations: 0.7401 MB / 0.7943 GB, free: 67.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/1.304, allocations: 59.41 kB / 0.7944 GB, free: 67.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/1.305, allocations: 199.1 kB / 0.7945 GB, free: 67.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/1.305, allocations: 25.7 kB / 0.7946 GB, free: 67.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/1.305, allocations: 179.8 kB / 0.7947 GB, free: 67.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/1.305, allocations: 90.66 kB / 0.7948 GB, free: 67.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/1.305, allocations: 0 / 0.7948 GB, free: 67.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/1.305, allocations: 330.8 kB / 0.7951 GB, free: 66.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/1.305, allocations: 79.88 kB / 0.7952 GB, free: 66.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/1.305, allocations: 167.1 kB / 0.7954 GB, free: 66.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/1.305, allocations: 105.2 kB / 0.7955 GB, free: 66.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.305, allocations: 0 / 0.7955 GB, free: 66.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005344/1.306, allocations: 342.8 kB / 0.7958 GB, free: 66.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.306, allocations: 4 kB / 0.7958 GB, free: 66.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.306, allocations: 4 kB / 0.7958 GB, free: 66.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002647/1.306, allocations: 65.61 kB / 0.7959 GB, free: 66.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/1.306, allocations: 72.19 kB / 0.7959 GB, free: 66.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/1.308, allocations: 2.564 MB / 0.7984 GB, free: 63.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/1.308, allocations: 12.19 kB / 0.7985 GB, free: 63.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/1.308, allocations: 16 kB / 0.7985 GB, free: 63.29 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001378/1.308, allocations: 116.8 kB / 0.7986 GB, free: 63.17 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003995/1.309, allocations: 258.8 kB / 0.7988 GB, free: 62.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/1.309, allocations: 19.81 kB / 0.7989 GB, free: 62.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.704e-05/1.309, allocations: 37.95 kB / 0.7989 GB, free: 62.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/1.309, allocations: 0 / 0.7989 GB, free: 62.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/1.309, allocations: 4 kB / 0.7989 GB, free: 62.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003936/1.309, allocations: 0.5437 MB / 0.7994 GB, free: 62.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007279/1.31, allocations: 0.6448 MB / 0.8001 GB, free: 61.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.31, allocations: 0 / 0.8001 GB, free: 61.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/1.31, allocations: 35.98 kB / 0.8001 GB, free: 61.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001824/1.31, allocations: 48.8 kB / 0.8001 GB, free: 61.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/1.31, allocations: 12.02 kB / 0.8001 GB, free: 61.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007358/1.311, allocations: 1.335 MB / 0.8015 GB, free: 59.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.311, allocations: 0 / 0.8015 GB, free: 59.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004853/1.312, allocations: 454.8 kB / 0.8019 GB, free: 59.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/1.312, allocations: 96.81 kB / 0.802 GB, free: 59.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/1.312, allocations: 4.125 kB / 0.802 GB, free: 59.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/1.312, allocations: 11.95 kB / 0.802 GB, free: 59.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/1.312, allocations: 19.97 kB / 0.802 GB, free: 59.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/1.312, allocations: 8 kB / 0.802 GB, free: 59.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.719e-05/1.312, allocations: 153.6 kB / 0.8022 GB, free: 59.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.312, allocations: 0 / 0.8022 GB, free: 59.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004477/1.313, allocations: 103.9 kB / 0.8023 GB, free: 59.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007855/1.313, allocations: 1.103 MB / 0.8033 GB, free: 57.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005528/1.314, allocations: 443.8 kB / 0.8038 GB, free: 57.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.314, allocations: 4 kB / 0.8038 GB, free: 57.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002629/1.314, allocations: 209.7 kB / 0.804 GB, free: 57.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006482/1.315, allocations: 124.7 kB / 0.8041 GB, free: 57.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009355/1.316, allocations: 0.5321 MB / 0.8046 GB, free: 56.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/1.316, allocations: 0.7639 MB / 0.8054 GB, free: 55.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002392/1.316, allocations: 51.27 kB / 0.8054 GB, free: 55.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/1.316, allocations: 87.34 kB / 0.8055 GB, free: 55.66 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/1.316, allocations: 0 / 0.8055 GB, free: 55.66 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.489/3.805, allocations: 7.184 MB / 0.8125 GB, free: 48.48 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/3.806, allocations: 165.7 kB / 0.8127 GB, free: 48.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/5.858, allocations: 0 / 0.8127 GB, free: 48.29 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat