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.00136/0.00136, allocations: 180.4 kB / 16.38 MB, free: 5.766 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.367/1.367, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009442/0.0009442, allocations: 90.02 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002931/0.0002931, allocations: 8 kB / 351.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2759, allocations: 50.4 MB / 401.6 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.479/7.755, allocations: 3.326 GB / 3.718 GB, free: 115 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/7.755, allocations: 70.88 kB / 3.718 GB, free: 115 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2417/7.997, allocations: 102.9 MB / 3.819 GB, free: 55.37 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.244e-06/7.997, allocations: 0 / 3.819 GB, free: 55.37 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.806e-05/7.997, allocations: 51.98 kB / 3.819 GB, free: 55.32 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.008895/8.006, allocations: 2.796 MB / 3.822 GB, free: 52.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/8.006, allocations: 8.031 kB / 3.822 GB, free: 52.45 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009446/8.007, allocations: 369.8 kB / 3.822 GB, free: 52.08 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/8.009, allocations: 329.2 kB / 3.822 GB, free: 51.76 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/8.012, allocations: 1.327 MB / 3.824 GB, free: 50.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/8.012, allocations: 184.9 kB / 3.824 GB, free: 50.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003798/8.013, allocations: 243.9 kB / 3.824 GB, free: 49.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00545/8.018, allocations: 3.733 MB / 3.828 GB, free: 46.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/8.018, allocations: 0 / 3.828 GB, free: 46.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003446/8.018, allocations: 112 kB / 3.828 GB, free: 46.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.504e-05/8.018, allocations: 60 kB / 3.828 GB, free: 46.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007338/8.026, allocations: 5.904 MB / 3.834 GB, free: 40.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01871/8.045, allocations: 10.62 MB / 3.844 GB, free: 28.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005595/8.05, allocations: 5.034 MB / 3.849 GB, free: 23.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005608/8.051, allocations: 447.2 kB / 3.849 GB, free: 23.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.765e-05/8.051, allocations: 94.62 kB / 3.849 GB, free: 23.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=390): time 5.3e-06/8.051, allocations: 0 / 3.849 GB, free: 23.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=390): time 0.008234/8.059, allocations: 5.785 MB / 3.855 GB, free: 17.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/8.059, allocations: 98.42 kB / 3.855 GB, free: 17.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000922/8.06, allocations: 0.7883 MB / 3.856 GB, free: 16.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005309/8.061, allocations: 101.7 kB / 3.856 GB, free: 16.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/8.061, allocations: 0.5111 MB / 3.857 GB, free: 15.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008877/8.062, allocations: 1.309 MB / 3.858 GB, free: 14.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/8.062, allocations: 72 kB / 3.858 GB, free: 14.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002034/8.062, allocations: 0.4944 MB / 3.858 GB, free: 13.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/8.065, allocations: 1.732 MB / 3.86 GB, free: 12.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/8.067, allocations: 2.231 MB / 3.862 GB, free: 9.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/8.07, allocations: 2.103 MB / 3.864 GB, free: 7.617 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/8.07, allocations: 4 kB / 3.864 GB, free: 7.613 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006503/8.076, allocations: 4.559 MB / 3.869 GB, free: 3.027 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/8.076, allocations: 12 kB / 3.869 GB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/8.076, allocations: 8 kB / 3.869 GB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.472e-05/8.077, allocations: 28 kB / 3.869 GB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003517/8.08, allocations: 0.7959 MB / 3.87 GB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.26e-05/8.08, allocations: 35.88 kB / 3.87 GB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003245/8.083, allocations: 432.4 kB / 3.87 GB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005211/8.084, allocations: 147.9 kB / 3.87 GB, free: 1.578 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 () * 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.002035/8.086, allocations: 0.7583 MB / 3.871 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/8.087, allocations: 205.8 kB / 3.871 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2827/8.37, allocations: 5.176 MB / 3.876 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.313e-05/8.37, allocations: 39.16 kB / 3.876 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/8.37, allocations: 0 / 3.876 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.216e-05/8.37, allocations: 18.66 kB / 3.876 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005439/8.375, allocations: 2.815 MB / 3.879 GB, free: 104.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-05/8.375, allocations: 3.531 kB / 3.879 GB, free: 104.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003866/8.379, allocations: 0.7328 MB / 3.88 GB, free: 104.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-05/8.379, allocations: 17.31 kB / 3.88 GB, free: 104.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000355/8.38, allocations: 96.22 kB / 3.88 GB, free: 104.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.861e-05/8.38, allocations: 13.19 kB / 3.88 GB, free: 104.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/8.38, allocations: 1.891 kB / 3.88 GB, free: 104.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/8.39, allocations: 7.186 MB / 3.887 GB, free: 103.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009851/8.391, allocations: 361.8 kB / 3.887 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004373/8.392, allocations: 74.83 kB / 3.887 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003618/8.395, allocations: 281.5 kB / 3.887 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008232/8.396, allocations: 316.5 kB / 3.888 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00065/8.397, allocations: 182.4 kB / 3.888 GB, free: 103.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001005/8.398, allocations: 0.6761 MB / 3.889 GB, free: 103.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/8.398, allocations: 0 / 3.889 GB, free: 103.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003851/8.402, allocations: 1.132 MB / 3.89 GB, free: 103.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 () * 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.01113/8.413, allocations: 8.489 MB / 3.898 GB, free: 102.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006349/8.419, allocations: 4.254 MB / 3.902 GB, free: 102.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/8.419, allocations: 6.969 kB / 3.902 GB, free: 102.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00303/8.422, allocations: 2.253 MB / 3.904 GB, free: 102.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005615/8.428, allocations: 1.165 MB / 3.906 GB, free: 102.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03295/8.461, allocations: 25.75 MB / 3.931 GB, free: 88.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/8.463, allocations: 1.885 MB / 3.932 GB, free: 87.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007132/8.47, allocations: 1.777 MB / 3.934 GB, free: 87.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002079/8.472, allocations: 0.8748 MB / 3.935 GB, free: 86.98 MB / 442.7 MB Notification: Performance of SimCode: time 9.02e-07/8.472, allocations: 0 / 3.935 GB, free: 86.98 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1288/8.601, allocations: 86.31 MB / 4.019 GB, free: 11.75 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/8.601, allocations: 211.2 kB / 4.02 GB, free: 11.51 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.108/13.71, allocations: 3.938 kB / 4.02 GB, free: 11.5 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