Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.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) 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(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",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.001072/0.001071, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.441/1.441, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0009052/0.0009053, allocations: 86.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.71e-05/2.713e-05, allocations: 0 / 322.5 MB, free: 17.28 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.09306, allocations: 47.58 MB / 370.1 MB, free: 1.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6866/0.7797, allocations: 272.6 MB / 0.6276 GB, free: 50.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.78, allocations: 64.22 kB / 0.6277 GB, free: 50.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0193/0.7993, allocations: 9.407 MB / 0.6369 GB, free: 42.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.407e-06/0.7994, allocations: 4 kB / 0.6369 GB, free: 42.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.7994, allocations: 0 / 0.6369 GB, free: 42.57 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007994/0.8002, allocations: 463.2 kB / 0.6373 GB, free: 42.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.8003, allocations: 8.031 kB / 0.6373 GB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.044e-05/0.8003, allocations: 53.92 kB / 0.6374 GB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.8005, allocations: 15.91 kB / 0.6374 GB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.8007, allocations: 206.6 kB / 0.6376 GB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.8008, allocations: 15.97 kB / 0.6376 GB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.8008, allocations: 19.64 kB / 0.6376 GB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.8012, allocations: 198.9 kB / 0.6378 GB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.8012, allocations: 3.984 kB / 0.6378 GB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.8012, allocations: 7.938 kB / 0.6378 GB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.8012, allocations: 4 kB / 0.6378 GB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.8015, allocations: 132.4 kB / 0.638 GB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.8027, allocations: 0.9355 MB / 0.6389 GB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.8029, allocations: 131.3 kB / 0.639 GB, free: 40.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.081e-05/0.803, allocations: 42.67 kB / 0.6391 GB, free: 40.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004844/0.8035, allocations: 0.516 MB / 0.6396 GB, free: 39.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.8036, allocations: 38.56 kB / 0.6396 GB, free: 39.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.8036, allocations: 0 / 0.6396 GB, free: 39.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001704/0.8053, allocations: 0.6425 MB / 0.6402 GB, free: 39.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.8053, allocations: 59.36 kB / 0.6403 GB, free: 39.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.597e-05/0.8054, allocations: 137.2 kB / 0.6404 GB, free: 39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.8055, allocations: 29.7 kB / 0.6404 GB, free: 38.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.8055, allocations: 143.8 kB / 0.6406 GB, free: 38.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.8056, allocations: 78.92 kB / 0.6407 GB, free: 38.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.8056, allocations: 4 kB / 0.6407 GB, free: 38.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.279e-05/0.8056, allocations: 322.8 kB / 0.641 GB, free: 38.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.73e-05/0.8057, allocations: 75.69 kB / 0.641 GB, free: 38.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.8059, allocations: 166.5 kB / 0.6412 GB, free: 38.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.806, allocations: 88.84 kB / 0.6413 GB, free: 38.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.806, allocations: 0 / 0.6413 GB, free: 38.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003433/0.8064, allocations: 288 kB / 0.6416 GB, free: 37.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.8064, allocations: 8 kB / 0.6416 GB, free: 37.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.8064, allocations: 4 kB / 0.6416 GB, free: 37.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.8064, allocations: 4 kB / 0.6416 GB, free: 37.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.8068, allocations: 79.83 kB / 0.6416 GB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.8068, allocations: 11.98 kB / 0.6417 GB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.807, allocations: 23.94 kB / 0.6417 GB, free: 37.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.807, allocations: 16.12 kB / 0.6417 GB, free: 37.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.661e-05/0.8071, allocations: 116.9 kB / 0.6418 GB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.8072, allocations: 15.81 kB / 0.6418 GB, free: 37.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003454/0.8075, allocations: 210.3 kB / 0.642 GB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.8075, allocations: 7.938 kB / 0.642 GB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.8075, allocations: 0 / 0.642 GB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.8075, allocations: 0 / 0.642 GB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008643/0.8084, allocations: 0.5646 MB / 0.6426 GB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.8084, allocations: 0 / 0.6426 GB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.8087, allocations: 56.02 kB / 0.6426 GB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.8087, allocations: 11.95 kB / 0.6426 GB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.8087, allocations: 4 kB / 0.6426 GB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.8087, allocations: 0 / 0.6426 GB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.8088, allocations: 7.984 kB / 0.6427 GB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.8091, allocations: 397.5 kB / 0.643 GB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.8092, allocations: 88.95 kB / 0.6431 GB, free: 35.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.8092, allocations: 11.98 kB / 0.6431 GB, free: 35.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.8094, allocations: 15.98 kB / 0.6431 GB, free: 35.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.8095, allocations: 24 kB / 0.6432 GB, free: 35.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.8095, allocations: 4 kB / 0.6432 GB, free: 35.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.764e-05/0.8096, allocations: 107.3 kB / 0.6433 GB, free: 35.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8096, allocations: 0 / 0.6433 GB, free: 35.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003269/0.8099, allocations: 67.94 kB / 0.6433 GB, free: 35.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006677/0.8106, allocations: 1.248 MB / 0.6446 GB, free: 34.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.8109, allocations: 195.6 kB / 0.6447 GB, free: 34.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8109, allocations: 0 / 0.6447 GB, free: 34.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.222e-05/0.811, allocations: 67.92 kB / 0.6448 GB, free: 34.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.8113, allocations: 33.16 kB / 0.6448 GB, free: 34.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008054/0.8121, allocations: 361.6 kB / 0.6452 GB, free: 33.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.8122, allocations: 0.7165 MB / 0.6459 GB, free: 33.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002545/0.8125, allocations: 50 kB / 0.6459 GB, free: 32.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.8126, allocations: 47.41 kB / 0.646 GB, free: 32.94 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.8126, allocations: 0 / 0.646 GB, free: 32.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01514/0.8278, allocations: 4.485 MB / 0.6504 GB, free: 28.45 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.828, allocations: 142.9 kB / 0.6505 GB, free: 28.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.372, allocations: 8 kB / 0.6505 GB, free: 28.22 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat