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.00142/0.00142, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001023/0.001023, allocations: 96.59 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.164e-05/2.155e-05, allocations: 0 / 343.8 MB, free: 8.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.122, allocations: 51.47 MB / 395.2 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.699/9.821, allocations: 3.319 GB / 3.705 GB, free: 59.49 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/9.822, allocations: 67.97 kB / 3.705 GB, free: 59.42 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5789/10.4, allocations: 101.6 MB / 3.804 GB, free: 94.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.475e-06/10.4, allocations: 0 / 3.804 GB, free: 94.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001941/10.4, allocations: 49.38 kB / 3.804 GB, free: 94.52 MB / 442.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.01241/10.41, allocations: 2.687 MB / 3.807 GB, free: 93.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/10.41, allocations: 9.844 kB / 3.807 GB, free: 93.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/10.42, allocations: 317 kB / 3.807 GB, free: 93.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00478/10.42, allocations: 1.336 MB / 3.808 GB, free: 93.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002803/10.42, allocations: 80.62 kB / 3.809 GB, free: 93.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/10.42, allocations: 146 kB / 3.809 GB, free: 93.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01341/10.44, allocations: 5.663 MB / 3.814 GB, free: 92.99 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009893/10.45, allocations: 3.307 MB / 3.817 GB, free: 92.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001153/10.45, allocations: 0 / 3.817 GB, free: 92.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001052/10.45, allocations: 10.12 kB / 3.817 GB, free: 92.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-05/10.45, allocations: 59.81 kB / 3.818 GB, free: 92.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02307/10.47, allocations: 10.16 MB / 3.827 GB, free: 87.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007314/10.48, allocations: 4.775 MB / 3.832 GB, free: 85.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003531/10.48, allocations: 2.224 MB / 3.834 GB, free: 84.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008125/10.48, allocations: 438.8 kB / 3.835 GB, free: 84.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/10.48, allocations: 107.6 kB / 3.835 GB, free: 84.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=390): time 6.462e-06/10.48, allocations: 0 / 3.835 GB, free: 84.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=390): time 0.01101/10.49, allocations: 4.316 MB / 3.839 GB, free: 83.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/10.49, allocations: 92.22 kB / 3.839 GB, free: 83.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008535/10.5, allocations: 0.5338 MB / 3.84 GB, free: 82.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006502/10.5, allocations: 32.23 kB / 3.84 GB, free: 82.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/10.5, allocations: 0.5332 MB / 3.84 GB, free: 82.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0013/10.5, allocations: 1.251 MB / 3.841 GB, free: 81.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/10.5, allocations: 0 / 3.841 GB, free: 81.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003114/10.5, allocations: 495.3 kB / 3.842 GB, free: 81.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002553/10.5, allocations: 1.619 MB / 3.843 GB, free: 80.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002941/10.5, allocations: 2.1 MB / 3.845 GB, free: 79.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005681/10.51, allocations: 2.556 MB / 3.848 GB, free: 78.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.747e-05/10.51, allocations: 3.969 kB / 3.848 GB, free: 78.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01018/10.52, allocations: 4.739 MB / 3.853 GB, free: 76.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.119e-05/10.52, allocations: 11.98 kB / 3.853 GB, free: 76.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.005e-05/10.52, allocations: 12 kB / 3.853 GB, free: 76.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.019e-05/10.52, allocations: 29.88 kB / 3.853 GB, free: 76.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003749/10.52, allocations: 0.7922 MB / 3.853 GB, free: 75.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.375e-05/10.52, allocations: 31.94 kB / 3.853 GB, free: 75.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/10.53, allocations: 329 kB / 3.854 GB, free: 75.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005442/10.53, allocations: 143.9 kB / 3.854 GB, free: 75.35 MB / 442.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.001103/10.53, allocations: 186.2 kB / 3.854 GB, free: 75.16 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009202/10.54, allocations: 4.327 MB / 3.858 GB, free: 70.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/10.54, allocations: 186 kB / 3.858 GB, free: 70.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/10.55, allocations: 5.311 MB / 3.864 GB, free: 65.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.4e-05/10.55, allocations: 40 kB / 3.864 GB, free: 65.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/10.55, allocations: 0 / 3.864 GB, free: 65.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-05/10.55, allocations: 19.92 kB / 3.864 GB, free: 65.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00596/10.56, allocations: 2.487 MB / 3.866 GB, free: 62.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/10.56, allocations: 0 / 3.866 GB, free: 62.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003345/10.56, allocations: 0.7294 MB / 3.867 GB, free: 62.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.38e-05/10.56, allocations: 12 kB / 3.867 GB, free: 62.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002083/10.56, allocations: 43.95 kB / 3.867 GB, free: 62.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.65e-05/10.56, allocations: 16 kB / 3.867 GB, free: 62.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/10.56, allocations: 3.938 kB / 3.867 GB, free: 62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/10.57, allocations: 7.287 MB / 3.874 GB, free: 54.67 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000978/10.57, allocations: 326.1 kB / 3.874 GB, free: 54.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000316/10.57, allocations: 11.98 kB / 3.874 GB, free: 54.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003129/10.57, allocations: 211.4 kB / 3.875 GB, free: 54.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004929/10.57, allocations: 314.9 kB / 3.875 GB, free: 53.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000378/10.57, allocations: 175.9 kB / 3.875 GB, free: 53.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005214/10.58, allocations: 478.8 kB / 3.876 GB, free: 53.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/10.58, allocations: 0 / 3.876 GB, free: 53.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003098/10.58, allocations: 1.018 MB / 3.877 GB, free: 52.14 MB / 442.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.01191/10.59, allocations: 8.621 MB / 3.885 GB, free: 43.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005346/10.6, allocations: 3.988 MB / 3.889 GB, free: 39.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.995e-05/10.6, allocations: 4.781 kB / 3.889 GB, free: 39.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002685/10.6, allocations: 2.116 MB / 3.891 GB, free: 37.47 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005677/10.6, allocations: 0.8804 MB / 3.892 GB, free: 36.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/10.62, allocations: 6.457 MB / 3.898 GB, free: 30.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/10.62, allocations: 1.886 MB / 3.9 GB, free: 28.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005427/10.63, allocations: 1.722 MB / 3.902 GB, free: 26.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001463/10.63, allocations: 0.8624 MB / 3.902 GB, free: 25.57 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/10.63, allocations: 0 / 3.902 GB, free: 25.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4447/11.07, allocations: 75.28 MB / 3.976 GB, free: 85.48 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/11.07, allocations: 161.4 kB / 3.976 GB, free: 85.28 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.247/16.32, allocations: 0 / 3.976 GB, free: 85.28 MB / 442.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