Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.PsychrometricData.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.PsychrometricData,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00144/0.00144, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001255/0.001255, allocations: 89.36 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.251e-05/4.303e-05, allocations: 4 kB / 350.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1343, allocations: 51.49 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.471/9.605, allocations: 3.32 GB / 3.712 GB, free: 37.92 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/9.605, allocations: 68.47 kB / 3.712 GB, free: 37.89 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6017/10.21, allocations: 102.7 MB / 3.813 GB, free: 114.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.956e-06/10.21, allocations: 0 / 3.813 GB, free: 114.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001005/10.21, allocations: 51.92 kB / 3.813 GB, free: 114.4 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: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.01235/10.22, allocations: 2.693 MB / 3.815 GB, free: 112.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.034e-05/10.22, allocations: 7.031 kB / 3.815 GB, free: 112.7 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002055/10.22, allocations: 353.9 kB / 3.816 GB, free: 112.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003532/10.23, allocations: 321.9 kB / 3.816 GB, free: 112.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005166/10.23, allocations: 1.329 MB / 3.817 GB, free: 111.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002819/10.23, allocations: 178.4 kB / 3.817 GB, free: 111.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001418/10.23, allocations: 243.5 kB / 3.818 GB, free: 111.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/10.24, allocations: 3.674 MB / 3.821 GB, free: 109.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001524/10.24, allocations: 0 / 3.821 GB, free: 109.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001414/10.25, allocations: 117.7 kB / 3.821 GB, free: 109.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.539e-05/10.25, allocations: 59 kB / 3.821 GB, free: 109.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/10.26, allocations: 5.792 MB / 3.827 GB, free: 107.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02689/10.28, allocations: 10.62 MB / 3.837 GB, free: 96.34 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008036/10.29, allocations: 4.943 MB / 3.842 GB, free: 91.38 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003909/10.3, allocations: 2.337 MB / 3.844 GB, free: 89.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000898/10.3, allocations: 440.4 kB / 3.845 GB, free: 88.56 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/10.3, allocations: 98.34 kB / 3.845 GB, free: 88.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=390): time 7.444e-06/10.3, allocations: 4 kB / 3.845 GB, free: 88.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=390): time 0.01098/10.31, allocations: 3.996 MB / 3.849 GB, free: 84.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/10.31, allocations: 94.41 kB / 3.849 GB, free: 84.31 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/10.31, allocations: 0.773 MB / 3.85 GB, free: 83.53 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009159/10.31, allocations: 105.7 kB / 3.85 GB, free: 83.42 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/10.31, allocations: 0.511 MB / 3.85 GB, free: 82.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001433/10.31, allocations: 1.308 MB / 3.852 GB, free: 81.61 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004078/10.31, allocations: 72 kB / 3.852 GB, free: 81.54 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003953/10.31, allocations: 0.4982 MB / 3.852 GB, free: 81.03 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002929/10.32, allocations: 1.689 MB / 3.854 GB, free: 79.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003425/10.32, allocations: 2.196 MB / 3.856 GB, free: 76.99 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003531/10.32, allocations: 2.069 MB / 3.858 GB, free: 74.91 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.346e-05/10.32, allocations: 8 kB / 3.858 GB, free: 74.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008114/10.33, allocations: 4.481 MB / 3.862 GB, free: 70.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/10.33, allocations: 9.719 kB / 3.862 GB, free: 70.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/10.33, allocations: 15.98 kB / 3.862 GB, free: 70.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.079e-05/10.33, allocations: 31.98 kB / 3.862 GB, free: 70.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005415/10.34, allocations: 0.7918 MB / 3.863 GB, free: 69.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001004/10.34, allocations: 27.94 kB / 3.863 GB, free: 69.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005157/10.34, allocations: 428.5 kB / 3.864 GB, free: 69.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009952/10.34, allocations: 155.7 kB / 3.864 GB, free: 68.95 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * 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.001767/10.35, allocations: 320.1 kB / 3.864 GB, free: 68.62 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001408/10.35, allocations: 209.8 kB / 3.864 GB, free: 68.42 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/10.36, allocations: 5.084 MB / 3.869 GB, free: 63.31 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.457e-05/10.36, allocations: 48 kB / 3.869 GB, free: 63.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/10.36, allocations: 0 / 3.869 GB, free: 63.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.851e-05/10.36, allocations: 23.92 kB / 3.869 GB, free: 63.24 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007842/10.37, allocations: 2.814 MB / 3.872 GB, free: 60.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-05/10.37, allocations: 3.938 kB / 3.872 GB, free: 60.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004635/10.37, allocations: 0.7294 MB / 3.873 GB, free: 59.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.673e-05/10.37, allocations: 12 kB / 3.873 GB, free: 59.73 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003156/10.37, allocations: 95.94 kB / 3.873 GB, free: 59.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-05/10.37, allocations: 16 kB / 3.873 GB, free: 59.62 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/10.37, allocations: 0 / 3.873 GB, free: 59.62 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008843/10.38, allocations: 7.05 MB / 3.88 GB, free: 52.53 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/10.38, allocations: 353.8 kB / 3.88 GB, free: 52.16 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005785/10.38, allocations: 79.98 kB / 3.88 GB, free: 52.08 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003822/10.39, allocations: 283.6 kB / 3.88 GB, free: 51.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005447/10.39, allocations: 318.8 kB / 3.881 GB, free: 51.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006866/10.39, allocations: 175.9 kB / 3.881 GB, free: 51.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001251/10.39, allocations: 0.667 MB / 3.882 GB, free: 50.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.6e-07/10.39, allocations: 4 kB / 3.882 GB, free: 50.65 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004299/10.39, allocations: 1.144 MB / 3.883 GB, free: 49.51 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (x,hx_h[1],hx_h[2],hx_h[3],hx_h[4],hx_h[5],hx_h[6],hx_h[7],hx_h[8],hx_h[9],hx_h[10],hx_h[11],hx_h[12],hx_h[13],hx_h[14],hx_h[15],hx_h[16]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * 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.01285/10.41, allocations: 8.392 MB / 3.891 GB, free: 41.16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006479/10.41, allocations: 4.165 MB / 3.895 GB, free: 36.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/10.41, allocations: 4.781 kB / 3.895 GB, free: 36.99 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003039/10.42, allocations: 2.209 MB / 3.897 GB, free: 34.78 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007143/10.42, allocations: 1.165 MB / 3.898 GB, free: 33.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/10.44, allocations: 6.85 MB / 3.905 GB, free: 26.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/10.44, allocations: 1.888 MB / 3.907 GB, free: 24.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008213/10.45, allocations: 1.775 MB / 3.909 GB, free: 23.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002532/10.45, allocations: 0.8741 MB / 3.909 GB, free: 22.14 MB / 458.7 MB Notification: Performance of SimCode: time 2.073e-06/10.45, allocations: 0 / 3.909 GB, free: 22.14 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4915/10.94, allocations: 88.77 MB / 3.996 GB, free: 96.21 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/10.94, allocations: 181.6 kB / 3.996 GB, free: 95.98 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.78/16.72, allocations: 0 / 3.996 GB, free: 95.98 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat does not exist to compare? outputFormat=mat