Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.0009783/0.0009784, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008739/0.0008739, allocations: 86.75 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1774/0.1774, allocations: 45.13 MB / 389.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.724e-05/2.726e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09726/0.09731, allocations: 63.24 MB / 0.5115 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4773/0.5746, allocations: 238.1 MB / 0.744 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.5749, allocations: 95.23 kB / 0.7441 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.976/1.551, allocations: 263 MB / 1.001 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.71e-07/1.551, allocations: 0 / 1.001 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.429e-05/1.551, allocations: 25.67 kB / 1.001 GB, free: 122.9 MB / 0.5261 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.002216/1.553, allocations: 1.192 MB / 1.002 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/1.553, allocations: 6.688 kB / 1.002 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.955e-05/1.553, allocations: 94.91 kB / 1.002 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008907/1.554, allocations: 146.6 kB / 1.002 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008613/1.555, allocations: 0.5461 MB / 1.003 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-05/1.555, allocations: 105.7 kB / 1.003 GB, free: 122 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.319e-05/1.555, allocations: 53.91 kB / 1.003 GB, free: 122 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/1.556, allocations: 0.8065 MB / 1.004 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/1.556, allocations: 2.719 kB / 1.004 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.439e-05/1.557, allocations: 30.81 kB / 1.004 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.115e-05/1.557, allocations: 43.23 kB / 1.004 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008479/1.557, allocations: 0.5806 MB / 1.004 GB, free: 121.8 MB / 0.5261 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.003404/1.561, allocations: 4.487 MB / 1.009 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/1.561, allocations: 318.3 kB / 1.009 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/1.562, allocations: 133.1 kB / 1.009 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/1.562, allocations: 418 kB / 1.01 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/1.562, allocations: 40.84 kB / 1.01 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.565e-06/1.562, allocations: 2.625 kB / 1.01 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.002543/1.564, allocations: 1.245 MB / 1.011 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/1.564, allocations: 131.8 kB / 1.011 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005235/1.565, allocations: 0.5755 MB / 1.012 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/1.565, allocations: 32.53 kB / 1.012 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/1.565, allocations: 393.4 kB / 1.012 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.315e-05/1.565, allocations: 131.3 kB / 1.012 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/1.565, allocations: 10.88 kB / 1.012 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.675e-05/1.565, allocations: 380.8 kB / 1.012 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/1.566, allocations: 188.2 kB / 1.013 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/1.566, allocations: 498.4 kB / 1.013 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/1.566, allocations: 285.7 kB / 1.013 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.566, allocations: 6.375 kB / 1.013 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00102/1.567, allocations: 0.8302 MB / 1.014 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.567, allocations: 15.25 kB / 1.014 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/1.567, allocations: 6.938 kB / 1.014 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/1.568, allocations: 278.8 kB / 1.015 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/1.569, allocations: 127.5 kB / 1.015 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007898/1.57, allocations: 1.382 MB / 1.016 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004694/1.57, allocations: 39 kB / 1.016 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.582e-05/1.57, allocations: 40.19 kB / 1.016 GB, free: 115.3 MB / 0.5261 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.0001309/1.57, allocations: 156.5 kB / 1.016 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-05/1.57, allocations: 71.09 kB / 1.016 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/1.571, allocations: 0.6714 MB / 1.017 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/1.572, allocations: 9.062 kB / 1.017 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.572, allocations: 3.953 kB / 1.017 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/1.572, allocations: 0 / 1.017 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/1.573, allocations: 1.189 MB / 1.018 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.573, allocations: 3.938 kB / 1.018 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/1.573, allocations: 36.88 kB / 1.018 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007205/1.574, allocations: 191.8 kB / 1.018 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/1.574, allocations: 10.95 kB / 1.018 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006659/1.575, allocations: 1.295 MB / 1.02 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.575, allocations: 0 / 1.02 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008771/1.576, allocations: 0.7981 MB / 1.02 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002319/1.576, allocations: 185.6 kB / 1.021 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.209e-05/1.576, allocations: 13.44 kB / 1.021 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/1.576, allocations: 24.78 kB / 1.021 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/1.576, allocations: 30.97 kB / 1.021 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/1.576, allocations: 23.58 kB / 1.021 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004244/1.577, allocations: 439.3 kB / 1.021 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/1.577, allocations: 3.219 kB / 1.021 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009249/1.578, allocations: 290 kB / 1.021 GB, free: 113.1 MB / 0.5261 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 (25): * 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: 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.001578/1.579, allocations: 1.702 MB / 1.023 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008203/1.58, allocations: 0.5 MB / 1.024 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.58, allocations: 0 / 1.024 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000354/1.581, allocations: 209.6 kB / 1.024 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/1.582, allocations: 308.8 kB / 1.024 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/1.584, allocations: 1.086 MB / 1.025 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/1.584, allocations: 0.9537 MB / 1.026 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006421/1.585, allocations: 256.9 kB / 1.026 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/1.585, allocations: 229.7 kB / 1.026 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of SimCode: time 4.21e-07/1.585, allocations: 0 / 1.026 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03442/1.619, allocations: 20.94 MB / 1.047 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/1.62, allocations: 249.8 kB / 1.047 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/3.884, allocations: 0 / 1.047 GB, free: 110.1 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat