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.0011/0.001101, allocations: 178.9 kB / 8.701 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.911/1.911, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.00114, allocations: 82.72 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.172e-05/2.175e-05, allocations: 4 kB / 315.6 MB, free: 22.64 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1258, allocations: 47.59 MB / 363.2 MB, free: 6.988 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8947/1.021, allocations: 272.2 MB / 0.6205 GB, free: 55.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/1.021, allocations: 64.72 kB / 0.6205 GB, free: 55.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03156/1.053, allocations: 9.338 MB / 0.6297 GB, free: 48.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/1.053, allocations: 0 / 0.6297 GB, free: 48.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/1.053, allocations: 0 / 0.6297 GB, free: 48.21 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.0008663/1.054, allocations: 462.8 kB / 0.6301 GB, free: 47.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/1.054, allocations: 15.97 kB / 0.6301 GB, free: 47.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/1.054, allocations: 15.91 kB / 0.6301 GB, free: 47.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/1.054, allocations: 209.8 kB / 0.6303 GB, free: 47.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/1.054, allocations: 4 kB / 0.6303 GB, free: 47.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/1.054, allocations: 12 kB / 0.6303 GB, free: 47.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002822/1.054, allocations: 113 kB / 0.6304 GB, free: 47.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/1.055, allocations: 185.5 kB / 0.6306 GB, free: 47.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/1.055, allocations: 0 / 0.6306 GB, free: 47.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/1.055, allocations: 4 kB / 0.6306 GB, free: 47.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.055, allocations: 4 kB / 0.6306 GB, free: 47.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/1.056, allocations: 0.8961 MB / 0.6315 GB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/1.056, allocations: 131.5 kB / 0.6316 GB, free: 46.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.618e-05/1.056, allocations: 50.91 kB / 0.6317 GB, free: 46.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005002/1.057, allocations: 0.502 MB / 0.6322 GB, free: 45.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/1.057, allocations: 34 kB / 0.6322 GB, free: 45.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.886e-06/1.057, allocations: 4 kB / 0.6322 GB, free: 45.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001937/1.059, allocations: 0.5979 MB / 0.6328 GB, free: 44.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/1.059, allocations: 54.97 kB / 0.6328 GB, free: 44.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/1.059, allocations: 132.5 kB / 0.633 GB, free: 44.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/1.059, allocations: 25.7 kB / 0.633 GB, free: 44.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/1.059, allocations: 146 kB / 0.6331 GB, free: 44.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/1.059, allocations: 65.27 kB / 0.6332 GB, free: 44.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/1.059, allocations: 0 / 0.6332 GB, free: 44.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.294e-05/1.059, allocations: 334.2 kB / 0.6335 GB, free: 44.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-05/1.059, allocations: 64.5 kB / 0.6336 GB, free: 44.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/1.059, allocations: 167.3 kB / 0.6337 GB, free: 44.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/1.06, allocations: 78.97 kB / 0.6338 GB, free: 43.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.06, allocations: 4 kB / 0.6338 GB, free: 43.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003498/1.06, allocations: 247 kB / 0.6341 GB, free: 43.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.06, allocations: 12.06 kB / 0.6341 GB, free: 43.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.06, allocations: 4 kB / 0.6341 GB, free: 43.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/1.06, allocations: 4 kB / 0.6341 GB, free: 43.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/1.06, allocations: 79.45 kB / 0.6341 GB, free: 43.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/1.06, allocations: 15.92 kB / 0.6342 GB, free: 43.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/1.061, allocations: 8 kB / 0.6342 GB, free: 43.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/1.061, allocations: 19.67 kB / 0.6342 GB, free: 43.62 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 7.78e-05/1.061, allocations: 112.9 kB / 0.6343 GB, free: 43.5 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002563/1.061, allocations: 157.2 kB / 0.6344 GB, free: 43.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/1.061, allocations: 23.73 kB / 0.6345 GB, free: 43.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/1.061, allocations: 189.1 kB / 0.6346 GB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/1.061, allocations: 0 / 0.6346 GB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.061, allocations: 4 kB / 0.6347 GB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.061, allocations: 3.984 kB / 0.6347 GB, free: 43.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000838/1.062, allocations: 0.5148 MB / 0.6352 GB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.062, allocations: 0 / 0.6352 GB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/1.063, allocations: 51.45 kB / 0.6352 GB, free: 42.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/1.063, allocations: 8.125 kB / 0.6352 GB, free: 42.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/1.063, allocations: 4 kB / 0.6352 GB, free: 42.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/1.063, allocations: 3.984 kB / 0.6352 GB, free: 42.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.063, allocations: 11.89 kB / 0.6352 GB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/1.063, allocations: 377.3 kB / 0.6356 GB, free: 42.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/1.063, allocations: 92.91 kB / 0.6357 GB, free: 42.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/1.063, allocations: 0 / 0.6357 GB, free: 42.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/1.063, allocations: 11.98 kB / 0.6357 GB, free: 42.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/1.063, allocations: 19.92 kB / 0.6357 GB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/1.063, allocations: 4 kB / 0.6357 GB, free: 42.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.078e-05/1.064, allocations: 106.9 kB / 0.6358 GB, free: 42 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.064, allocations: 0 / 0.6358 GB, free: 42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003571/1.064, allocations: 63.67 kB / 0.6359 GB, free: 41.95 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.0007069/1.065, allocations: 1.225 MB / 0.6371 GB, free: 40.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002689/1.065, allocations: 180.3 kB / 0.6372 GB, free: 40.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.065, allocations: 3.938 kB / 0.6373 GB, free: 40.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.661e-05/1.065, allocations: 70.11 kB / 0.6373 GB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/1.065, allocations: 27.16 kB / 0.6373 GB, free: 40.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008329/1.066, allocations: 329.1 kB / 0.6377 GB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/1.066, allocations: 0.7243 MB / 0.6384 GB, free: 39.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002532/1.067, allocations: 38.08 kB / 0.6384 GB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/1.067, allocations: 60.78 kB / 0.6385 GB, free: 39.36 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/1.067, allocations: 0 / 0.6385 GB, free: 39.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/1.09, allocations: 3.933 MB / 0.6423 GB, free: 35.43 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/1.09, allocations: 134.7 kB / 0.6424 GB, free: 35.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.827, allocations: 0 / 0.6424 GB, free: 35.23 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