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.001206/0.001206, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008547/0.0008547, allocations: 91.25 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2063/0.2063, allocations: 45.15 MB / 383.8 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.796e-05/1.798e-05, allocations: 4 kB / 453.3 MB, free: 75.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 63.25 MB / 0.5045 GB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.226, allocations: 423.1 MB / 0.9177 GB, free: 31.66 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/1.226, allocations: 95.12 kB / 0.9178 GB, free: 31.61 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6/1.826, allocations: 120.9 MB / 1.036 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.493e-06/1.826, allocations: 3.938 kB / 1.036 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.708e-05/1.826, allocations: 20 kB / 1.036 GB, free: 131.7 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002828/1.829, allocations: 0.9727 MB / 1.037 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/1.829, allocations: 8.031 kB / 1.037 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000546/1.83, allocations: 91.09 kB / 1.037 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/1.831, allocations: 0.5502 MB / 1.037 GB, free: 130 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.715e-05/1.831, allocations: 80.72 kB / 1.038 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/1.831, allocations: 31.98 kB / 1.038 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009464/1.832, allocations: 0.5414 MB / 1.038 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/1.833, allocations: 0.7448 MB / 1.039 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/1.833, allocations: 0 / 1.039 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.083e-05/1.833, allocations: 4 kB / 1.039 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.251e-05/1.833, allocations: 45.22 kB / 1.039 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004146/1.837, allocations: 3.97 MB / 1.043 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005195/1.838, allocations: 315.3 kB / 1.043 GB, free: 124 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/1.838, allocations: 161.4 kB / 1.043 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/1.838, allocations: 348.5 kB / 1.044 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/1.838, allocations: 42.84 kB / 1.044 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.425e-06/1.838, allocations: 0 / 1.044 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.003012/1.841, allocations: 1.279 MB / 1.045 GB, free: 122 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/1.842, allocations: 136.5 kB / 1.045 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/1.842, allocations: 450 kB / 1.045 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/1.842, allocations: 29.7 kB / 1.045 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/1.842, allocations: 383 kB / 1.046 GB, free: 121 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.782e-05/1.842, allocations: 134 kB / 1.046 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/1.842, allocations: 0 / 1.046 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001021/1.842, allocations: 378.7 kB / 1.046 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/1.843, allocations: 197.5 kB / 1.046 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/1.843, allocations: 490.3 kB / 1.047 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006603/1.844, allocations: 324.5 kB / 1.047 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.844, allocations: 4 kB / 1.047 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001767/1.846, allocations: 0.8867 MB / 1.048 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.846, allocations: 8.125 kB / 1.048 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/1.846, allocations: 15.95 kB / 1.048 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007808/1.847, allocations: 232.6 kB / 1.048 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/1.847, allocations: 127.8 kB / 1.048 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007894/1.848, allocations: 0.8603 MB / 1.049 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006365/1.848, allocations: 43.88 kB / 1.049 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/1.848, allocations: 32 kB / 1.049 GB, free: 117.1 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 (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.0001475/1.849, allocations: 132.7 kB / 1.05 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000897/1.85, allocations: 493.7 kB / 1.05 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/1.85, allocations: 63.31 kB / 1.05 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/1.851, allocations: 0.5875 MB / 1.051 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/1.851, allocations: 8 kB / 1.051 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/1.851, allocations: 0 / 1.051 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.851, allocations: 3.984 kB / 1.051 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/1.853, allocations: 1.48 MB / 1.052 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/1.853, allocations: 4 kB / 1.052 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008726/1.854, allocations: 191.8 kB / 1.052 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002162/1.854, allocations: 52.98 kB / 1.052 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/1.854, allocations: 8 kB / 1.052 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/1.856, allocations: 2.686 MB / 1.055 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.856, allocations: 11.92 kB / 1.055 GB, free: 111 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/1.857, allocations: 0.9494 MB / 1.056 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002907/1.857, allocations: 196.2 kB / 1.056 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/1.858, allocations: 7.953 kB / 1.056 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004259/1.858, allocations: 15.98 kB / 1.056 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/1.858, allocations: 35.95 kB / 1.056 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/1.858, allocations: 23.98 kB / 1.056 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003389/1.858, allocations: 322.9 kB / 1.056 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/1.858, allocations: 0 / 1.056 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009799/1.859, allocations: 200 kB / 1.057 GB, free: 109.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (43): * Single equations (assignments): 39 * 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.00192/1.861, allocations: 2.075 MB / 1.059 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000926/1.862, allocations: 0.5235 MB / 1.059 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.862, allocations: 0.8125 kB / 1.059 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008993/1.863, allocations: 429.4 kB / 1.06 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/1.865, allocations: 262.5 kB / 1.06 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/1.867, allocations: 1.111 MB / 1.061 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/1.867, allocations: 0.9497 MB / 1.062 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006743/1.868, allocations: 193 kB / 1.062 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/1.868, allocations: 231.4 kB / 1.062 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of SimCode: time 9.92e-07/1.868, allocations: 0 / 1.062 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04481/1.913, allocations: 17.49 MB / 1.079 GB, free: 85.97 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/1.913, allocations: 202.7 kB / 1.08 GB, free: 85.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/4.365, allocations: 3.938 kB / 1.08 GB, free: 85.68 MB / 0.5261 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