Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.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) 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(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 197.5 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.275/1.275, allocations: 227.2 MB / 245 MB, free: 7.66 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 102.4 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002861, allocations: 8 kB / 358 MB, free: 9.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2118, allocations: 51.48 MB / 409.5 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4336/0.6455, allocations: 274.5 MB / 0.668 GB, free: 5.93 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.6458, allocations: 64.98 kB / 0.668 GB, free: 5.898 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1994/0.8452, allocations: 9.705 MB / 0.6775 GB, free: 178.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.8452, allocations: 0 / 0.6775 GB, free: 178.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.8452, allocations: 4.406 kB / 0.6775 GB, free: 178.2 MB / 458.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.0007716/0.846, allocations: 475.7 kB / 0.678 GB, free: 177.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.846, allocations: 9.219 kB / 0.678 GB, free: 177.8 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.29e-05/0.8461, allocations: 48.61 kB / 0.678 GB, free: 177.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.8463, allocations: 26.78 kB / 0.678 GB, free: 177.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.8465, allocations: 205.9 kB / 0.6782 GB, free: 177.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.8466, allocations: 11.09 kB / 0.6782 GB, free: 177.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.8466, allocations: 23.52 kB / 0.6783 GB, free: 177.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.847, allocations: 211.3 kB / 0.6785 GB, free: 177.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.847, allocations: 4.75 kB / 0.6785 GB, free: 177.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.847, allocations: 7.625 kB / 0.6785 GB, free: 177.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.847, allocations: 4.125 kB / 0.6785 GB, free: 177.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.8474, allocations: 147.3 kB / 0.6786 GB, free: 177.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.8485, allocations: 0.9399 MB / 0.6795 GB, free: 176.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.8489, allocations: 150.8 kB / 0.6797 GB, free: 176.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004619/0.8494, allocations: 0.4972 MB / 0.6802 GB, free: 176.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.8494, allocations: 39.78 kB / 0.6802 GB, free: 176.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.904e-06/0.8494, allocations: 4 kB / 0.6802 GB, free: 176.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=20): time 0.002422/0.8519, allocations: 0.7567 MB / 0.6809 GB, free: 175.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.8519, allocations: 60.67 kB / 0.681 GB, free: 175.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.852, allocations: 136.4 kB / 0.6811 GB, free: 175.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.852, allocations: 30.39 kB / 0.6812 GB, free: 175.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.8521, allocations: 144.4 kB / 0.6813 GB, free: 175.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.8522, allocations: 72.03 kB / 0.6814 GB, free: 175.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.8522, allocations: 12.56 kB / 0.6814 GB, free: 175.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.325e-05/0.8523, allocations: 320.4 kB / 0.6817 GB, free: 175.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.8525, allocations: 80.66 kB / 0.6818 GB, free: 175.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.8528, allocations: 188.7 kB / 0.6819 GB, free: 175.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.8531, allocations: 101.6 kB / 0.682 GB, free: 175.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.8531, allocations: 1.5 kB / 0.682 GB, free: 175.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000711/0.8539, allocations: 324.1 kB / 0.6824 GB, free: 175 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.8539, allocations: 11 kB / 0.6824 GB, free: 175 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.8539, allocations: 2.719 kB / 0.6824 GB, free: 175 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.8539, allocations: 6.125 kB / 0.6824 GB, free: 175 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/0.8543, allocations: 78.86 kB / 0.6824 GB, free: 175 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.8544, allocations: 9.188 kB / 0.6825 GB, free: 175 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.8546, allocations: 22.88 kB / 0.6825 GB, free: 175 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.8547, allocations: 19.81 kB / 0.6825 GB, free: 175 MB / 458.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 () * Number of clocked 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 0.00012/0.8548, allocations: 134.6 kB / 0.6826 GB, free: 174.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.8548, allocations: 15.28 kB / 0.6826 GB, free: 174.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006589/0.8555, allocations: 234.9 kB / 0.6829 GB, free: 174.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.8555, allocations: 15.95 kB / 0.6829 GB, free: 174.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8555, allocations: 1.031 kB / 0.6829 GB, free: 174.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.8555, allocations: 0 / 0.6829 GB, free: 174.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.8567, allocations: 0.5961 MB / 0.6835 GB, free: 174.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.8567, allocations: 1.375 kB / 0.6835 GB, free: 174.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.857, allocations: 47.58 kB / 0.6835 GB, free: 174.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/0.857, allocations: 10.64 kB / 0.6835 GB, free: 174.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.857, allocations: 9.875 kB / 0.6835 GB, free: 174.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.857, allocations: 6.875 kB / 0.6835 GB, free: 174.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8571, allocations: 1.375 kB / 0.6835 GB, free: 174.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000717/0.8578, allocations: 447.8 kB / 0.684 GB, free: 174.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/0.8578, allocations: 89.11 kB / 0.684 GB, free: 174.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.8579, allocations: 10.44 kB / 0.6841 GB, free: 174.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.8581, allocations: 18.19 kB / 0.6841 GB, free: 174.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.8581, allocations: 19.06 kB / 0.6841 GB, free: 174.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.8582, allocations: 9.625 kB / 0.6841 GB, free: 174.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.62e-05/0.8582, allocations: 113.6 kB / 0.6842 GB, free: 174 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8582, allocations: 0 / 0.6842 GB, free: 174 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003636/0.8586, allocations: 66.97 kB / 0.6843 GB, free: 174 MB / 458.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 () * Number of clocked 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.001018/0.8596, allocations: 1.295 MB / 0.6855 GB, free: 173 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004739/0.8601, allocations: 209.3 kB / 0.6857 GB, free: 173 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.8601, allocations: 0 / 0.6857 GB, free: 173 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.8603, allocations: 92.8 kB / 0.6858 GB, free: 173 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.8606, allocations: 37.78 kB / 0.6859 GB, free: 173 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.8628, allocations: 3.495 MB / 0.6893 GB, free: 169.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.863, allocations: 0.7261 MB / 0.69 GB, free: 169.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002656/0.8633, allocations: 46.69 kB / 0.69 GB, free: 169.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.8634, allocations: 58.36 kB / 0.6901 GB, free: 169.1 MB / 458.7 MB Notification: Performance of SimCode: time 3.4e-07/0.8634, allocations: 0 / 0.6901 GB, free: 169.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.8785, allocations: 4.43 MB / 0.6944 GB, free: 168.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/0.8787, allocations: 173 kB / 0.6946 GB, free: 167.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.481, allocations: 0 / 0.6946 GB, free: 167.9 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat