Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 221.3 MB / 235.5 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000849/0.0008491, allocations: 90.28 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.113e-05, allocations: 8 kB / 343.9 MB, free: 4.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1292, allocations: 50.41 MB / 394.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.39/10.52, allocations: 3.326 GB / 3.711 GB, free: 90.74 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/10.52, allocations: 65.97 kB / 3.711 GB, free: 90.71 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5822/11.1, allocations: 102.9 MB / 3.812 GB, free: 102.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.284e-06/11.1, allocations: 3.875 kB / 3.812 GB, free: 102.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001194/11.1, allocations: 50.52 kB / 3.812 GB, free: 102.3 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.01303/11.11, allocations: 2.681 MB / 3.814 GB, free: 101.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.174e-05/11.11, allocations: 9 kB / 3.814 GB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00157/11.11, allocations: 357.2 kB / 3.815 GB, free: 101.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002977/11.12, allocations: 318.9 kB / 3.815 GB, free: 101.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004835/11.12, allocations: 1.334 MB / 3.816 GB, free: 101.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/11.12, allocations: 184.9 kB / 3.817 GB, free: 101.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006752/11.12, allocations: 238.4 kB / 3.817 GB, free: 101.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009655/11.13, allocations: 3.678 MB / 3.82 GB, free: 101 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.865e-05/11.13, allocations: 0 / 3.82 GB, free: 101 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000583/11.13, allocations: 112.2 kB / 3.82 GB, free: 101 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.746e-05/11.13, allocations: 59.12 kB / 3.82 GB, free: 101 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/11.15, allocations: 5.791 MB / 3.826 GB, free: 100.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0345/11.18, allocations: 10.62 MB / 3.837 GB, free: 96.99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/11.19, allocations: 4.949 MB / 3.841 GB, free: 96.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004317/11.2, allocations: 2.34 MB / 3.844 GB, free: 96.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009009/11.2, allocations: 440.8 kB / 3.844 GB, free: 96.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/11.2, allocations: 99.25 kB / 3.844 GB, free: 96.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=390): time 1.121e-05/11.2, allocations: 7.188 kB / 3.844 GB, free: 96.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=390): time 0.008527/11.21, allocations: 3.989 MB / 3.848 GB, free: 96.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/11.21, allocations: 93.41 kB / 3.848 GB, free: 96.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/11.21, allocations: 0.7801 MB / 3.849 GB, free: 95.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006831/11.21, allocations: 100.8 kB / 3.849 GB, free: 95.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/11.21, allocations: 0.5224 MB / 3.85 GB, free: 95.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00137/11.21, allocations: 1.301 MB / 3.851 GB, free: 94.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/11.21, allocations: 73.06 kB / 3.851 GB, free: 94.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003753/11.21, allocations: 0.4942 MB / 3.851 GB, free: 93.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003001/11.22, allocations: 1.694 MB / 3.853 GB, free: 93.49 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003612/11.22, allocations: 2.198 MB / 3.855 GB, free: 92.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003921/11.22, allocations: 2.062 MB / 3.857 GB, free: 92.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.868e-05/11.22, allocations: 3.562 kB / 3.857 GB, free: 92.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008053/11.23, allocations: 4.475 MB / 3.862 GB, free: 90.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.907e-05/11.23, allocations: 11.19 kB / 3.862 GB, free: 90.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.781e-05/11.23, allocations: 14.62 kB / 3.862 GB, free: 90.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.002e-05/11.23, allocations: 29.72 kB / 3.862 GB, free: 90.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003862/11.24, allocations: 0.7958 MB / 3.862 GB, free: 90.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000127/11.24, allocations: 35.12 kB / 3.862 GB, free: 90.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00387/11.24, allocations: 424.5 kB / 3.863 GB, free: 90.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004514/11.24, allocations: 149.7 kB / 3.863 GB, free: 90.63 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.001175/11.24, allocations: 316.9 kB / 3.863 GB, free: 90.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/11.24, allocations: 212.2 kB / 3.863 GB, free: 90.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009468/11.25, allocations: 5.084 MB / 3.868 GB, free: 88.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-05/11.25, allocations: 42.69 kB / 3.868 GB, free: 88.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.537e-05/11.25, allocations: 0.875 kB / 3.868 GB, free: 88.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.443e-05/11.25, allocations: 19.08 kB / 3.868 GB, free: 88.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006567/11.26, allocations: 2.824 MB / 3.871 GB, free: 87.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.319e-05/11.26, allocations: 0 / 3.871 GB, free: 87.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003569/11.26, allocations: 0.7341 MB / 3.872 GB, free: 87.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.864e-05/11.26, allocations: 14.91 kB / 3.872 GB, free: 87.78 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003992/11.26, allocations: 98.53 kB / 3.872 GB, free: 87.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.06e-05/11.26, allocations: 13.53 kB / 3.872 GB, free: 87.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/11.26, allocations: 3.75 kB / 3.872 GB, free: 87.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/11.27, allocations: 7.047 MB / 3.879 GB, free: 85.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/11.28, allocations: 348.7 kB / 3.879 GB, free: 84.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006122/11.28, allocations: 71.66 kB / 3.879 GB, free: 84.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004078/11.28, allocations: 295.9 kB / 3.88 GB, free: 84.44 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006647/11.28, allocations: 307.7 kB / 3.88 GB, free: 84.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007581/11.28, allocations: 179.2 kB / 3.88 GB, free: 84.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001153/11.28, allocations: 0.6693 MB / 3.881 GB, free: 83.53 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/11.28, allocations: 6.562 kB / 3.881 GB, free: 83.53 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004781/11.29, allocations: 1.135 MB / 3.882 GB, free: 82.4 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.01454/11.3, allocations: 8.363 MB / 3.89 GB, free: 75.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007611/11.31, allocations: 4.168 MB / 3.894 GB, free: 71.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.592e-05/11.31, allocations: 10.91 kB / 3.894 GB, free: 71.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003608/11.31, allocations: 2.205 MB / 3.896 GB, free: 69.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007162/11.32, allocations: 1.168 MB / 3.897 GB, free: 69.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0181/11.34, allocations: 6.828 MB / 3.904 GB, free: 63.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/11.34, allocations: 1.89 MB / 3.906 GB, free: 62.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007823/11.35, allocations: 1.779 MB / 3.908 GB, free: 61.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002477/11.35, allocations: 0.8698 MB / 3.909 GB, free: 60.23 MB / 442.7 MB Notification: Performance of SimCode: time 1.562e-06/11.35, allocations: 0 / 3.909 GB, free: 60.23 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4946/11.85, allocations: 88.64 MB / 3.995 GB, free: 84.63 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/11.85, allocations: 185.3 kB / 3.995 GB, free: 84.41 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.722/17.57, allocations: 0 / 3.995 GB, free: 84.41 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat does not exist to compare? outputFormat=mat