Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",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.001467/0.001467, allocations: 183.7 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.922/1.922, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 98.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2516/0.2516, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003271, allocations: 11.98 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.135, allocations: 58.85 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9455/1.081, allocations: 353 MB / 0.8236 GB, free: 67.35 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/1.081, allocations: 94.81 kB / 0.8237 GB, free: 67.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5165/1.597, allocations: 131.3 MB / 0.9519 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.593e-06/1.598, allocations: 0 / 0.9519 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.282e-05/1.598, allocations: 18.75 kB / 0.9519 GB, free: 135.2 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003313/1.601, allocations: 0.9753 MB / 0.9529 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.722e-05/1.601, allocations: 7.188 kB / 0.9529 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003825/1.601, allocations: 96.59 kB / 0.953 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000679/1.602, allocations: 87.39 kB / 0.953 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/1.604, allocations: 0.5502 MB / 0.9536 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/1.604, allocations: 105.4 kB / 0.9537 GB, free: 134 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/1.605, allocations: 48.5 kB / 0.9537 GB, free: 134 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/1.607, allocations: 0.8217 MB / 0.9545 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/1.607, allocations: 0 / 0.9545 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/1.607, allocations: 29.59 kB / 0.9546 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.243e-05/1.607, allocations: 39.61 kB / 0.9546 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/1.609, allocations: 0.6189 MB / 0.9552 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006335/1.615, allocations: 4.045 MB / 0.9591 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000895/1.616, allocations: 337.6 kB / 0.9595 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002555/1.619, allocations: 1.709 MB / 0.9611 GB, free: 128 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/1.619, allocations: 45.72 kB / 0.9612 GB, free: 128 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 2.915e-06/1.619, allocations: 0 / 0.9612 GB, free: 128 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.005674/1.624, allocations: 1.364 MB / 0.9625 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.849e-05/1.625, allocations: 139.7 kB / 0.9626 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/1.626, allocations: 0.5556 MB / 0.9632 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.603e-05/1.626, allocations: 33.48 kB / 0.9632 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004532/1.627, allocations: 404.3 kB / 0.9636 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/1.627, allocations: 136.3 kB / 0.9637 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/1.627, allocations: 14.91 kB / 0.9637 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001829/1.627, allocations: 373.1 kB / 0.9641 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005446/1.628, allocations: 187.8 kB / 0.9643 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008618/1.628, allocations: 0.5426 MB / 0.9648 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008189/1.629, allocations: 286.8 kB / 0.9651 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/1.629, allocations: 4 kB / 0.9651 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002403/1.632, allocations: 0.8186 MB / 0.9659 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/1.632, allocations: 14.5 kB / 0.9659 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/1.632, allocations: 12 kB / 0.9659 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006802/1.633, allocations: 104.7 kB / 0.966 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/1.634, allocations: 188.1 kB / 0.9662 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007597/1.634, allocations: 0.6576 MB / 0.9668 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/1.636, allocations: 51.78 kB / 0.9669 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.063e-05/1.636, allocations: 39.98 kB / 0.9669 GB, free: 123.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (87): * Single equations (assignments): 86 * 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 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005412/1.636, allocations: 265 kB / 0.9672 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/1.636, allocations: 63.25 kB / 0.9672 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/1.638, allocations: 499.2 kB / 0.9677 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/1.638, allocations: 4 kB / 0.9677 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.638, allocations: 4 kB / 0.9677 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/1.638, allocations: 7.938 kB / 0.9677 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/1.641, allocations: 1.192 MB / 0.9689 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.641, allocations: 4 kB / 0.9689 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005334/1.642, allocations: 75.89 kB / 0.969 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002835/1.642, allocations: 41.2 kB / 0.969 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/1.642, allocations: 12 kB / 0.969 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003773/1.642, allocations: 0.564 MB / 0.9696 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/1.642, allocations: 7.953 kB / 0.9696 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/1.644, allocations: 0.8562 MB / 0.9704 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/1.644, allocations: 196.1 kB / 0.9706 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/1.645, allocations: 15.94 kB / 0.9706 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008998/1.645, allocations: 32.05 kB / 0.9706 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/1.646, allocations: 35.84 kB / 0.9707 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.169e-05/1.646, allocations: 19.98 kB / 0.9707 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000833/1.646, allocations: 451 kB / 0.9711 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.302e-06/1.646, allocations: 0 / 0.9711 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001494/1.648, allocations: 227.9 kB / 0.9713 GB, free: 118.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (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 (36): * Single equations (assignments): 35 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002495/1.651, allocations: 2.437 MB / 0.9737 GB, free: 116 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001474/1.652, allocations: 0.4891 MB / 0.9742 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.652, allocations: 0 / 0.9742 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000528/1.653, allocations: 174.7 kB / 0.9744 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/1.655, allocations: 306.5 kB / 0.9747 GB, free: 115 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009631/1.665, allocations: 12.09 MB / 0.9865 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/1.665, allocations: 0.9532 MB / 0.9874 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001191/1.667, allocations: 202 kB / 0.9876 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/1.667, allocations: 227.4 kB / 0.9878 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.263e-06/1.667, allocations: 0 / 0.9878 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03989/1.707, allocations: 20.13 MB / 1.007 GB, free: 81.08 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/1.707, allocations: 292.5 kB / 1.008 GB, free: 80.71 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.767/4.475, allocations: 0 / 1.008 GB, free: 80.71 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat