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.001335/0.001335, 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.335/1.335, allocations: 227.2 MB / 245 MB, free: 7.668 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001042/0.001042, allocations: 98.59 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002506/0.0002508, allocations: 4 kB / 358 MB, free: 9.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2163, allocations: 51.48 MB / 409.5 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.567/6.783, allocations: 3.32 GB / 3.719 GB, free: 45.09 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/6.784, allocations: 69.72 kB / 3.72 GB, free: 45.05 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4445/7.228, allocations: 102.7 MB / 3.82 GB, free: 129.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.464e-06/7.228, allocations: 0 / 3.82 GB, free: 129.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000104/7.228, allocations: 44 kB / 3.82 GB, free: 129.6 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.00985/7.238, allocations: 2.807 MB / 3.823 GB, free: 126.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/7.238, allocations: 8.031 kB / 3.823 GB, free: 126.8 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001554/7.24, allocations: 377.8 kB / 3.823 GB, free: 126.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002521/7.242, allocations: 325.2 kB / 3.823 GB, free: 126.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004151/7.246, allocations: 1.329 MB / 3.825 GB, free: 124.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/7.247, allocations: 184.1 kB / 3.825 GB, free: 124.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009311/7.248, allocations: 239.9 kB / 3.825 GB, free: 124.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006911/7.255, allocations: 3.741 MB / 3.829 GB, free: 120.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.349e-05/7.255, allocations: 0 / 3.829 GB, free: 120.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006109/7.255, allocations: 116 kB / 3.829 GB, free: 120.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/7.255, allocations: 60 kB / 3.829 GB, free: 120.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00851/7.264, allocations: 5.896 MB / 3.835 GB, free: 114.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02094/7.285, allocations: 10.63 MB / 3.845 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007044/7.292, allocations: 5.023 MB / 3.85 GB, free: 98.12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007227/7.293, allocations: 442.6 kB / 3.85 GB, free: 97.64 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/7.293, allocations: 102.5 kB / 3.85 GB, free: 97.53 MB / 458.7 MB Notification: Performance of pre-optimization done (n=390): time 6.573e-06/7.293, allocations: 0 / 3.85 GB, free: 97.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=390): time 0.01033/7.303, allocations: 5.785 MB / 3.856 GB, free: 91.71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/7.303, allocations: 94.47 kB / 3.856 GB, free: 91.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/7.304, allocations: 0.7806 MB / 3.857 GB, free: 90.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000675/7.305, allocations: 109.6 kB / 3.857 GB, free: 90.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/7.305, allocations: 0.5072 MB / 3.858 GB, free: 90.19 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001138/7.306, allocations: 1.316 MB / 3.859 GB, free: 88.89 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000312/7.307, allocations: 72 kB / 3.859 GB, free: 88.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002464/7.307, allocations: 0.4943 MB / 3.859 GB, free: 88.32 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002594/7.31, allocations: 1.732 MB / 3.861 GB, free: 86.58 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003021/7.313, allocations: 2.234 MB / 3.863 GB, free: 84.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003098/7.316, allocations: 2.103 MB / 3.865 GB, free: 82.08 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/7.316, allocations: 4 kB / 3.865 GB, free: 82.08 MB / 458.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007054/7.323, allocations: 4.559 MB / 3.87 GB, free: 77.49 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/7.323, allocations: 12 kB / 3.87 GB, free: 77.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/7.323, allocations: 8 kB / 3.87 GB, free: 77.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.572e-05/7.323, allocations: 31.98 kB / 3.87 GB, free: 77.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003674/7.327, allocations: 0.7921 MB / 3.871 GB, free: 76.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-05/7.327, allocations: 35.94 kB / 3.871 GB, free: 76.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003323/7.33, allocations: 424.5 kB / 3.871 GB, free: 76.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005884/7.331, allocations: 147.9 kB / 3.871 GB, free: 76.05 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 () * Number of clocked 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.002131/7.333, allocations: 0.7621 MB / 3.872 GB, free: 75.28 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009434/7.334, allocations: 205.8 kB / 3.872 GB, free: 75.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00872/7.343, allocations: 5.174 MB / 3.877 GB, free: 69.86 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.582e-05/7.343, allocations: 40 kB / 3.877 GB, free: 69.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/7.343, allocations: 0 / 3.877 GB, free: 69.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.848e-05/7.343, allocations: 27.91 kB / 3.877 GB, free: 69.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005083/7.348, allocations: 2.826 MB / 3.88 GB, free: 67.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-05/7.348, allocations: 0 / 3.88 GB, free: 67.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003595/7.351, allocations: 0.7334 MB / 3.881 GB, free: 66.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.166e-05/7.351, allocations: 15.94 kB / 3.881 GB, free: 66.27 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004196/7.352, allocations: 91.97 kB / 3.881 GB, free: 66.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.235e-05/7.352, allocations: 16 kB / 3.881 GB, free: 66.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/7.352, allocations: 3.984 kB / 3.881 GB, free: 66.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009639/7.362, allocations: 7.175 MB / 3.888 GB, free: 58.94 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000718/7.362, allocations: 357.7 kB / 3.888 GB, free: 58.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006452/7.363, allocations: 79.98 kB / 3.888 GB, free: 58.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003261/7.366, allocations: 287.5 kB / 3.888 GB, free: 58.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006399/7.367, allocations: 314.9 kB / 3.889 GB, free: 57.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005204/7.367, allocations: 179.9 kB / 3.889 GB, free: 57.72 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007716/7.368, allocations: 0.6785 MB / 3.89 GB, free: 57.05 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.81e-07/7.368, allocations: 0 / 3.89 GB, free: 57.05 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00419/7.372, allocations: 1.14 MB / 3.891 GB, free: 55.91 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 () * Number of clocked 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.01109/7.384, allocations: 8.51 MB / 3.899 GB, free: 47.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006216/7.39, allocations: 4.254 MB / 3.903 GB, free: 43.17 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.237e-05/7.39, allocations: 5 kB / 3.903 GB, free: 43.17 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003109/7.393, allocations: 2.251 MB / 3.905 GB, free: 40.92 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005531/7.399, allocations: 1.162 MB / 3.907 GB, free: 39.76 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03219/7.431, allocations: 25.75 MB / 3.932 GB, free: 13.26 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/7.432, allocations: 1.884 MB / 3.934 GB, free: 11.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006139/7.438, allocations: 1.768 MB / 3.935 GB, free: 9.566 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/7.44, allocations: 0.8819 MB / 3.936 GB, free: 8.684 MB / 458.7 MB Notification: Performance of SimCode: time 8.626e-06/7.44, allocations: 0 / 3.936 GB, free: 8.684 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3016/7.741, allocations: 86.45 MB / 4.021 GB, free: 88.57 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/7.742, allocations: 206.6 kB / 4.021 GB, free: 88.32 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.771/12.51, allocations: 0 / 4.021 GB, free: 88.32 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