Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 176.8 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.979/1.979, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 74.72 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.88e-05/1.877e-05, allocations: 0 / 315.6 MB, free: 22.64 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1103, allocations: 47.58 MB / 363.2 MB, free: 6.992 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.47/10.58, allocations: 3.622 GB / 3.977 GB, free: 1.867 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/10.58, allocations: 69.22 kB / 3.977 GB, free: 1.836 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6104/11.19, allocations: 103.3 MB / 4.078 GB, free: 79.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.282e-06/11.19, allocations: 0 / 4.078 GB, free: 79.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.174e-05/11.19, allocations: 48 kB / 4.078 GB, free: 79.79 MB / 426.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.008413/11.2, allocations: 2.691 MB / 4.08 GB, free: 77.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/11.2, allocations: 12.03 kB / 4.08 GB, free: 77.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002469/11.2, allocations: 313.2 kB / 4.081 GB, free: 76.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002948/11.2, allocations: 1.33 MB / 4.082 GB, free: 75.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.707e-05/11.2, allocations: 84 kB / 4.082 GB, free: 75.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003856/11.2, allocations: 151.8 kB / 4.082 GB, free: 75.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007924/11.21, allocations: 5.661 MB / 4.088 GB, free: 69.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006009/11.22, allocations: 3.302 MB / 4.091 GB, free: 66.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.287e-05/11.22, allocations: 3.938 kB / 4.091 GB, free: 66.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004363/11.22, allocations: 8 kB / 4.091 GB, free: 66.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-05/11.22, allocations: 56 kB / 4.091 GB, free: 66.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01879/11.24, allocations: 10.16 MB / 4.101 GB, free: 55.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005318/11.24, allocations: 4.774 MB / 4.106 GB, free: 50.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002746/11.24, allocations: 2.224 MB / 4.108 GB, free: 48.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007042/11.25, allocations: 435.3 kB / 4.108 GB, free: 47.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/11.25, allocations: 98.36 kB / 4.108 GB, free: 47.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 6.042e-06/11.25, allocations: 0 / 4.108 GB, free: 47.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.008524/11.25, allocations: 4.409 MB / 4.113 GB, free: 43.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.689e-05/11.25, allocations: 94.47 kB / 4.113 GB, free: 43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008656/11.25, allocations: 0.5283 MB / 4.113 GB, free: 42.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006211/11.26, allocations: 29.7 kB / 4.113 GB, free: 42.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/11.26, allocations: 0.5379 MB / 4.114 GB, free: 41.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001254/11.26, allocations: 1.255 MB / 4.115 GB, free: 40.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/11.26, allocations: 3.938 kB / 4.115 GB, free: 40.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002792/11.26, allocations: 486.2 kB / 4.115 GB, free: 40.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/11.26, allocations: 1.615 MB / 4.117 GB, free: 38.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/11.26, allocations: 2.111 MB / 4.119 GB, free: 36.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004954/11.27, allocations: 2.633 MB / 4.122 GB, free: 33.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.645e-05/11.27, allocations: 0 / 4.122 GB, free: 33.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008211/11.28, allocations: 4.828 MB / 4.126 GB, free: 28.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/11.28, allocations: 12.03 kB / 4.126 GB, free: 28.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/11.28, allocations: 12 kB / 4.126 GB, free: 28.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.681e-05/11.28, allocations: 31.95 kB / 4.126 GB, free: 28.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003437/11.28, allocations: 0.7917 MB / 4.127 GB, free: 27.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.995e-05/11.28, allocations: 31.92 kB / 4.127 GB, free: 27.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002847/11.28, allocations: 332.9 kB / 4.128 GB, free: 27.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003122/11.28, allocations: 147.9 kB / 4.128 GB, free: 27.39 MB / 426.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.0008948/11.28, allocations: 180.2 kB / 4.128 GB, free: 27.2 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007989/11.29, allocations: 4.405 MB / 4.132 GB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000786/11.29, allocations: 190 kB / 4.132 GB, free: 22.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0096/11.3, allocations: 5.39 MB / 4.138 GB, free: 17.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.124e-05/11.3, allocations: 44 kB / 4.138 GB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/11.3, allocations: 0 / 4.138 GB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-05/11.3, allocations: 23.92 kB / 4.138 GB, free: 17.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005028/11.31, allocations: 2.477 MB / 4.14 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/11.31, allocations: 3.984 kB / 4.14 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00337/11.31, allocations: 0.7255 MB / 4.141 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.452e-05/11.31, allocations: 16 kB / 4.141 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002108/11.31, allocations: 39.95 kB / 4.141 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.656e-05/11.31, allocations: 15.95 kB / 4.141 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/11.31, allocations: 0 / 4.141 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/11.32, allocations: 7.373 MB / 4.148 GB, free: 6.352 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/11.32, allocations: 334 kB / 4.148 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002992/11.32, allocations: 11.98 kB / 4.148 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003155/11.33, allocations: 211.5 kB / 4.149 GB, free: 5.785 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005292/11.33, allocations: 318.9 kB / 4.149 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003904/11.33, allocations: 175.9 kB / 4.149 GB, free: 5.301 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006987/11.33, allocations: 474.8 kB / 4.15 GB, free: 4.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/11.33, allocations: 0 / 4.15 GB, free: 4.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003653/11.33, allocations: 1.003 MB / 4.15 GB, free: 3.836 MB / 426.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.3192/11.65, allocations: 8.706 MB / 4.159 GB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01081/11.66, allocations: 3.979 MB / 4.163 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.399e-05/11.66, allocations: 6.938 kB / 4.163 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004632/11.67, allocations: 2.119 MB / 4.165 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006285/11.67, allocations: 0.881 MB / 4.166 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/11.69, allocations: 6.44 MB / 4.172 GB, free: 109.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001738/11.69, allocations: 1.892 MB / 4.174 GB, free: 108.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006907/11.7, allocations: 1.723 MB / 4.176 GB, free: 108.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001901/11.7, allocations: 0.8631 MB / 4.176 GB, free: 108.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/11.7, allocations: 0 / 4.176 GB, free: 108.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5511/12.25, allocations: 75.29 MB / 4.25 GB, free: 64.87 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/12.25, allocations: 163.4 kB / 4.25 GB, free: 64.67 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.581/17.83, allocations: 4 kB / 4.25 GB, free: 64.67 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat does not exist to compare? outputFormat=mat