Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_3_2_3_cpp_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.001492/0.001496, allocations: 185.4 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.927/1.927, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001153, allocations: 96.41 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003898, allocations: 8 kB / 327.1 MB, free: 112 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3365, allocations: 47.57 MB / 374.6 MB, free: 45.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.03/11.37, allocations: 3.623 GB / 3.988 GB, free: 111.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/11.37, allocations: 77.77 kB / 3.989 GB, free: 111.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4292/11.79, allocations: 104.4 MB / 4.09 GB, free: 60.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.896e-06/11.79, allocations: 0 / 4.09 GB, free: 60.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001009/11.79, allocations: 52 kB / 4.09 GB, free: 60.36 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.0144/11.81, allocations: 2.792 MB / 4.093 GB, free: 57.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/11.81, allocations: 16.03 kB / 4.093 GB, free: 57.48 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001779/11.81, allocations: 373.8 kB / 4.094 GB, free: 57.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003581/11.81, allocations: 321.2 kB / 4.094 GB, free: 56.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005135/11.82, allocations: 1.331 MB / 4.095 GB, free: 55.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003007/11.82, allocations: 188.9 kB / 4.095 GB, free: 55.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001154/11.82, allocations: 239.9 kB / 4.096 GB, free: 55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/11.83, allocations: 3.741 MB / 4.099 GB, free: 51.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.176e-05/11.83, allocations: 3.953 kB / 4.099 GB, free: 51.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000822/11.83, allocations: 116 kB / 4.099 GB, free: 51.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.864e-05/11.83, allocations: 56 kB / 4.099 GB, free: 51.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01559/11.85, allocations: 5.9 MB / 4.105 GB, free: 45.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03432/11.88, allocations: 10.62 MB / 4.116 GB, free: 33.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01197/11.9, allocations: 5.031 MB / 4.12 GB, free: 28.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/11.9, allocations: 443.3 kB / 4.121 GB, free: 28.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.546e-05/11.9, allocations: 94.56 kB / 4.121 GB, free: 28.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 6.863e-06/11.9, allocations: 4 kB / 4.121 GB, free: 28.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.01752/11.92, allocations: 5.792 MB / 4.127 GB, free: 22.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/11.92, allocations: 90.47 kB / 4.127 GB, free: 22.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/11.92, allocations: 0.7806 MB / 4.127 GB, free: 21.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00116/11.92, allocations: 101.7 kB / 4.128 GB, free: 21.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/11.92, allocations: 0.5331 MB / 4.128 GB, free: 20.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001838/11.92, allocations: 1.305 MB / 4.129 GB, free: 19.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004252/11.92, allocations: 68 kB / 4.129 GB, free: 19.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002733/11.92, allocations: 462.3 kB / 4.13 GB, free: 18.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004936/11.93, allocations: 1.736 MB / 4.132 GB, free: 17.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005545/11.93, allocations: 2.231 MB / 4.134 GB, free: 14.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005888/11.94, allocations: 2.103 MB / 4.136 GB, free: 12.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.621e-05/11.94, allocations: 4 kB / 4.136 GB, free: 12.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01298/11.95, allocations: 4.517 MB / 4.14 GB, free: 8.121 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/11.95, allocations: 15.95 kB / 4.14 GB, free: 8.105 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.314e-05/11.95, allocations: 15.98 kB / 4.14 GB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.834e-05/11.95, allocations: 28 kB / 4.14 GB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007619/11.96, allocations: 0.788 MB / 4.141 GB, free: 7.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.889e-05/11.96, allocations: 31.94 kB / 4.141 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005194/11.96, allocations: 428.6 kB / 4.142 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000923/11.96, allocations: 143.9 kB / 4.142 GB, free: 6.68 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 () * 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.002439/11.97, allocations: 0.7583 MB / 4.142 GB, free: 5.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008579/11.97, allocations: 209.8 kB / 4.143 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01745/11.99, allocations: 5.182 MB / 4.148 GB, free: 496 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.705e-05/11.99, allocations: 44 kB / 4.148 GB, free: 452 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/11.99, allocations: 3.938 kB / 4.148 GB, free: 448 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001376/11.99, allocations: 19.92 kB / 4.148 GB, free: 428 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2957/12.28, allocations: 2.806 MB / 4.15 GB, free: 99.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.243e-05/12.28, allocations: 3.844 kB / 4.15 GB, free: 99.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007453/12.29, allocations: 0.73 MB / 4.151 GB, free: 99.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-05/12.29, allocations: 16.52 kB / 4.151 GB, free: 99.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008228/12.29, allocations: 88.55 kB / 4.151 GB, free: 99.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.842e-05/12.29, allocations: 19.86 kB / 4.151 GB, free: 99.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/12.29, allocations: 0 / 4.151 GB, free: 99.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01936/12.31, allocations: 7.185 MB / 4.158 GB, free: 99.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009826/12.31, allocations: 351.5 kB / 4.159 GB, free: 99.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001127/12.31, allocations: 84.61 kB / 4.159 GB, free: 99.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006335/12.32, allocations: 290.5 kB / 4.159 GB, free: 99.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001404/12.32, allocations: 314.2 kB / 4.159 GB, free: 99.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007877/12.32, allocations: 175.3 kB / 4.159 GB, free: 99.31 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001339/12.32, allocations: 0.6737 MB / 4.16 GB, free: 99.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/12.32, allocations: 0 / 4.16 GB, free: 99.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005319/12.33, allocations: 1.14 MB / 4.161 GB, free: 99.19 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 () * 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.02344/12.35, allocations: 8.513 MB / 4.17 GB, free: 98.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01255/12.36, allocations: 4.257 MB / 4.174 GB, free: 98.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.605e-05/12.36, allocations: 7.719 kB / 4.174 GB, free: 98.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005816/12.37, allocations: 2.249 MB / 4.176 GB, free: 98.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01033/12.38, allocations: 1.163 MB / 4.177 GB, free: 98.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05047/12.43, allocations: 25.88 MB / 4.202 GB, free: 85.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00174/12.43, allocations: 1.891 MB / 4.204 GB, free: 84.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003399/12.43, allocations: 0.9137 MB / 4.205 GB, free: 84.26 MB / 426.7 MB Notification: Performance of SimCode: time 1.753e-06/12.43, allocations: 0 / 4.205 GB, free: 84.26 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.872/16.31, allocations: 58.35 MB / 4.262 GB, free: 44.36 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData_res.mat does not exist to compare? outputFormat=mat