Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00164/0.00164, allocations: 198.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 227.2 MB / 245 MB, free: 7.625 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009217/0.0009215, allocations: 94.16 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.6195/0.6195, allocations: 45.21 MB / 394.6 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004222, allocations: 8 kB / 468.5 MB, free: 7.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4806/0.4811, allocations: 63.25 MB / 0.5193 GB, free: 43.89 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.258/1.739, allocations: 423.9 MB / 0.9332 GB, free: 151.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/1.74, allocations: 100.9 kB / 0.9333 GB, free: 151.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2687/2.008, allocations: 122.3 MB / 1.053 GB, free: 73.24 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.345e-06/2.008, allocations: 8 kB / 1.053 GB, free: 73.23 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.807e-05/2.009, allocations: 19.98 kB / 1.053 GB, free: 73.21 MB / 0.5417 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.003001/2.012, allocations: 1.053 MB / 1.054 GB, free: 72.11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/2.012, allocations: 8.031 kB / 1.054 GB, free: 72.1 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003095/2.012, allocations: 102.5 kB / 1.054 GB, free: 71.99 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004752/2.012, allocations: 91.09 kB / 1.054 GB, free: 71.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/2.014, allocations: 0.5443 MB / 1.055 GB, free: 71.32 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-05/2.014, allocations: 96.41 kB / 1.055 GB, free: 71.21 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/2.014, allocations: 48 kB / 1.055 GB, free: 71.16 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/2.015, allocations: 0.823 MB / 1.055 GB, free: 70.27 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/2.015, allocations: 3.906 kB / 1.055 GB, free: 70.26 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.49e-05/2.015, allocations: 24 kB / 1.055 GB, free: 70.24 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.419e-05/2.015, allocations: 40.92 kB / 1.056 GB, free: 70.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000997/2.016, allocations: 0.6361 MB / 1.056 GB, free: 69.56 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004566/2.021, allocations: 3.935 MB / 1.06 GB, free: 65.39 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007543/2.022, allocations: 391.8 kB / 1.06 GB, free: 65 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003807/2.022, allocations: 0.4989 MB / 1.061 GB, free: 64.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/2.022, allocations: 38.89 kB / 1.061 GB, free: 64.35 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=40): time 2.945e-06/2.022, allocations: 0 / 1.061 GB, free: 64.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=45): time 0.003137/2.025, allocations: 1.509 MB / 1.062 GB, free: 62.79 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/2.025, allocations: 140.5 kB / 1.063 GB, free: 62.62 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006786/2.026, allocations: 0.4982 MB / 1.063 GB, free: 62.12 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.544e-05/2.026, allocations: 33.7 kB / 1.063 GB, free: 62.08 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/2.026, allocations: 358.9 kB / 1.063 GB, free: 61.72 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/2.027, allocations: 161.7 kB / 1.064 GB, free: 61.56 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/2.027, allocations: 16 kB / 1.064 GB, free: 61.55 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001089/2.027, allocations: 370.8 kB / 1.064 GB, free: 61.18 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/2.027, allocations: 213.9 kB / 1.064 GB, free: 60.97 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/2.028, allocations: 0.5131 MB / 1.065 GB, free: 60.32 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/2.028, allocations: 320.9 kB / 1.065 GB, free: 60 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/2.028, allocations: 0 / 1.065 GB, free: 60 MB / 0.5417 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001855/2.03, allocations: 0.9257 MB / 1.066 GB, free: 59.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/2.03, allocations: 8 kB / 1.066 GB, free: 59.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/2.03, allocations: 12 kB / 1.066 GB, free: 59.05 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/2.031, allocations: 260.8 kB / 1.066 GB, free: 58.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/2.032, allocations: 131.8 kB / 1.066 GB, free: 58.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007547/2.032, allocations: 0.8665 MB / 1.067 GB, free: 57.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006883/2.033, allocations: 43.86 kB / 1.067 GB, free: 57.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-05/2.033, allocations: 43.98 kB / 1.067 GB, free: 57.69 MB / 0.5417 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003686/2.034, allocations: 241.7 kB / 1.067 GB, free: 57.44 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/2.034, allocations: 71.14 kB / 1.067 GB, free: 57.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/2.035, allocations: 0.7072 MB / 1.068 GB, free: 56.65 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/2.035, allocations: 4 kB / 1.068 GB, free: 56.64 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/2.035, allocations: 11.94 kB / 1.068 GB, free: 56.63 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/2.035, allocations: 0 / 1.068 GB, free: 56.63 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/2.037, allocations: 1.379 MB / 1.069 GB, free: 55.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/2.037, allocations: 0 / 1.069 GB, free: 55.17 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009288/2.038, allocations: 203.9 kB / 1.07 GB, free: 54.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002913/2.038, allocations: 56.78 kB / 1.07 GB, free: 54.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/2.038, allocations: 16 kB / 1.07 GB, free: 54.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/2.04, allocations: 2.802 MB / 1.072 GB, free: 51.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/2.04, allocations: 3.953 kB / 1.072 GB, free: 51.83 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/2.042, allocations: 1.054 MB / 1.074 GB, free: 50.69 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/2.042, allocations: 208.2 kB / 1.074 GB, free: 50.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/2.042, allocations: 12 kB / 1.074 GB, free: 50.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005077/2.043, allocations: 31.98 kB / 1.074 GB, free: 50.42 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.7e-05/2.043, allocations: 35.95 kB / 1.074 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/2.043, allocations: 23.92 kB / 1.074 GB, free: 50.36 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005423/2.043, allocations: 398.8 kB / 1.074 GB, free: 49.98 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/2.043, allocations: 0 / 1.074 GB, free: 49.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001095/2.044, allocations: 216 kB / 1.074 GB, free: 49.77 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002375/2.047, allocations: 2.256 MB / 1.077 GB, free: 47.45 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001295/2.048, allocations: 0.589 MB / 1.077 GB, free: 46.86 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/2.048, allocations: 0 / 1.077 GB, free: 46.86 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/2.049, allocations: 478.5 kB / 1.078 GB, free: 46.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/2.051, allocations: 331.5 kB / 1.078 GB, free: 46.06 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009738/2.061, allocations: 10.49 MB / 1.088 GB, free: 35.29 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005567/2.061, allocations: 0.9464 MB / 1.089 GB, free: 34.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001007/2.062, allocations: 197.7 kB / 1.089 GB, free: 34.13 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004271/2.063, allocations: 235.4 kB / 1.09 GB, free: 33.9 MB / 0.5417 GB Notification: Performance of SimCode: time 1.592e-05/2.063, allocations: 0 / 1.09 GB, free: 33.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04318/2.106, allocations: 20.36 MB / 1.109 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/2.106, allocations: 290.7 kB / 1.11 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.749/4.855, allocations: 2.969 kB / 1.11 GB, free: 13.52 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat