Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",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.001119/0.001119, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.892/1.892, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.001017/0.001017, allocations: 90.28 kB / 261.8 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2929/0.2929, allocations: 43.5 MB / 353.2 MB, free: 300 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.064e-05/2.077e-05, allocations: 0 / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1672, allocations: 58.87 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6715/0.8388, allocations: 240 MB / 0.7004 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/0.8391, allocations: 97.84 kB / 0.7005 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.315/2.154, allocations: 287 MB / 0.9808 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.833e-06/2.154, allocations: 0 / 0.9808 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.614e-05/2.154, allocations: 24.94 kB / 0.9808 GB, free: 114.5 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.004649/2.159, allocations: 1.549 MB / 0.9823 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/2.159, allocations: 7.812 kB / 0.9823 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/2.16, allocations: 140.3 kB / 0.9824 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/2.161, allocations: 0.5561 MB / 0.983 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.771e-05/2.161, allocations: 82.73 kB / 0.9831 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.628e-05/2.161, allocations: 30.75 kB / 0.9831 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008112/2.162, allocations: 0.4949 MB / 0.9836 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/2.163, allocations: 0.7346 MB / 0.9843 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/2.163, allocations: 3.938 kB / 0.9843 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.022e-05/2.163, allocations: 3.688 kB / 0.9843 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-05/2.164, allocations: 45.22 kB / 0.9843 GB, free: 112.9 MB / 0.4948 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.004346/2.168, allocations: 4.322 MB / 0.9886 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/2.168, allocations: 296.4 kB / 0.9888 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/2.168, allocations: 129.8 kB / 0.989 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/2.169, allocations: 339.3 kB / 0.9893 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/2.169, allocations: 38.44 kB / 0.9893 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 3.627e-06/2.169, allocations: 0 / 0.9893 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.003391/2.172, allocations: 1.243 MB / 0.9905 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/2.172, allocations: 132.2 kB / 0.9907 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005443/2.173, allocations: 466.2 kB / 0.9911 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/2.173, allocations: 25.7 kB / 0.9911 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/2.173, allocations: 400.8 kB / 0.9915 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.437e-05/2.173, allocations: 136.4 kB / 0.9917 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/2.173, allocations: 0 / 0.9917 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001388/2.173, allocations: 367.8 kB / 0.992 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/2.174, allocations: 180.9 kB / 0.9922 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/2.174, allocations: 479.3 kB / 0.9926 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009094/2.175, allocations: 340.1 kB / 0.993 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/2.175, allocations: 3.812 kB / 0.993 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001641/2.177, allocations: 0.8205 MB / 0.9938 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.091e-05/2.177, allocations: 6.844 kB / 0.9938 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/2.177, allocations: 11.03 kB / 0.9938 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008006/2.178, allocations: 216.4 kB / 0.994 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/2.178, allocations: 124.7 kB / 0.9941 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/2.179, allocations: 1.423 MB / 0.9955 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005636/2.18, allocations: 26.34 kB / 0.9955 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/2.18, allocations: 45.62 kB / 0.9956 GB, free: 105.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (70): * Single equations (assignments): 68 * 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: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001919/2.18, allocations: 135.9 kB / 0.9957 GB, free: 105 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001175/2.181, allocations: 0.49 MB / 0.9962 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.422e-05/2.181, allocations: 61.69 kB / 0.9962 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/2.183, allocations: 0.689 MB / 0.9969 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/2.183, allocations: 3.875 kB / 0.9969 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/2.183, allocations: 3.953 kB / 0.9969 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/2.183, allocations: 3.797 kB / 0.9969 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/2.185, allocations: 1.168 MB / 0.9981 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/2.185, allocations: 3.906 kB / 0.9981 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/2.185, allocations: 43.84 kB / 0.9981 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004807/2.186, allocations: 154 kB / 0.9982 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/2.186, allocations: 15.55 kB / 0.9983 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009221/2.187, allocations: 1.321 MB / 0.9996 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/2.187, allocations: 3.938 kB / 0.9996 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/2.188, allocations: 0.8214 MB / 1 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/2.188, allocations: 197.2 kB / 1.001 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.796e-05/2.188, allocations: 7.953 kB / 1.001 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/2.189, allocations: 15.75 kB / 1.001 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/2.189, allocations: 28.7 kB / 1.001 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/2.189, allocations: 23.66 kB / 1.001 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004067/2.189, allocations: 344.8 kB / 1.001 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/2.189, allocations: 0 / 1.001 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00167/2.191, allocations: 349.5 kB / 1.001 GB, free: 101.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00269/2.194, allocations: 1.852 MB / 1.003 GB, free: 99.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009653/2.195, allocations: 462.2 kB / 1.004 GB, free: 99.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/2.195, allocations: 0 / 1.004 GB, free: 99.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003637/2.195, allocations: 199.5 kB / 1.004 GB, free: 98.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/2.196, allocations: 261.7 kB / 1.004 GB, free: 98.74 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/2.199, allocations: 1.073 MB / 1.005 GB, free: 97.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/2.199, allocations: 0.9531 MB / 1.006 GB, free: 96.69 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007304/2.2, allocations: 234.9 kB / 1.006 GB, free: 96.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/2.2, allocations: 235.1 kB / 1.006 GB, free: 96.27 MB / 0.4948 GB Notification: Performance of SimCode: time 1.633e-06/2.2, allocations: 0 / 1.006 GB, free: 96.27 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04487/2.245, allocations: 19.7 MB / 1.026 GB, free: 76.91 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/2.245, allocations: 215.5 kB / 1.026 GB, free: 76.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.779/5.024, allocations: 0 / 1.026 GB, free: 76.61 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat