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.001539/0.001538, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001095/0.001094, allocations: 85.94 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.389e-05/3.416e-05, allocations: 0 / 321.6 MB, free: 17.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09668/0.09676, allocations: 47.57 MB / 369.2 MB, free: 2.125 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.43/11.53, allocations: 3.623 GB / 3.983 GB, free: 116.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/11.53, allocations: 69.64 kB / 3.983 GB, free: 116.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4532/11.98, allocations: 104.3 MB / 4.085 GB, free: 26.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.296e-06/11.98, allocations: 4 kB / 4.085 GB, free: 26.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001199/11.98, allocations: 51.98 kB / 4.085 GB, free: 26.9 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.01473/12, allocations: 2.679 MB / 4.088 GB, free: 24.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/12, allocations: 12.03 kB / 4.088 GB, free: 24.15 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001391/12, allocations: 357.8 kB / 4.088 GB, free: 23.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003539/12, allocations: 313.3 kB / 4.088 GB, free: 23.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005595/12.01, allocations: 1.334 MB / 4.09 GB, free: 22.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003417/12.01, allocations: 180.9 kB / 4.09 GB, free: 21.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/12.01, allocations: 239.9 kB / 4.09 GB, free: 21.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/12.02, allocations: 3.679 MB / 4.094 GB, free: 17.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.878e-05/12.02, allocations: 7.891 kB / 4.094 GB, free: 17.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008876/12.03, allocations: 112 kB / 4.094 GB, free: 17.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.066e-05/12.03, allocations: 56 kB / 4.094 GB, free: 17.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01532/12.04, allocations: 5.8 MB / 4.099 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03587/12.08, allocations: 10.62 MB / 4.11 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3216/12.4, allocations: 4.934 MB / 4.115 GB, free: 96.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006593/12.4, allocations: 2.346 MB / 4.117 GB, free: 96.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/12.41, allocations: 440.1 kB / 4.117 GB, free: 96.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/12.41, allocations: 97.38 kB / 4.117 GB, free: 96.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 7.074e-06/12.41, allocations: 0 / 4.117 GB, free: 96.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.01294/12.42, allocations: 3.992 MB / 4.121 GB, free: 95.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.796e-05/12.42, allocations: 95.25 kB / 4.121 GB, free: 95.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/12.42, allocations: 0.7759 MB / 4.122 GB, free: 95.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00112/12.42, allocations: 101 kB / 4.122 GB, free: 95.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004176/12.42, allocations: 0.5323 MB / 4.123 GB, free: 95.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002117/12.42, allocations: 1.305 MB / 4.124 GB, free: 94.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003384/12.43, allocations: 69.22 kB / 4.124 GB, free: 94.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003407/12.43, allocations: 458.8 kB / 4.125 GB, free: 94.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005305/12.43, allocations: 1.691 MB / 4.126 GB, free: 94.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006107/12.44, allocations: 2.191 MB / 4.128 GB, free: 93.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005738/12.44, allocations: 2.077 MB / 4.13 GB, free: 93.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.725e-05/12.44, allocations: 3.906 kB / 4.13 GB, free: 93.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01248/12.46, allocations: 4.433 MB / 4.135 GB, free: 93.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/12.46, allocations: 14.33 kB / 4.135 GB, free: 93.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-05/12.46, allocations: 11.28 kB / 4.135 GB, free: 93.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.692e-05/12.46, allocations: 29.28 kB / 4.135 GB, free: 93.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007701/12.46, allocations: 0.7969 MB / 4.136 GB, free: 93.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.199e-05/12.46, allocations: 29.81 kB / 4.136 GB, free: 93.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005239/12.47, allocations: 431.1 kB / 4.136 GB, free: 93.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008485/12.47, allocations: 143.9 kB / 4.136 GB, free: 93.66 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.001245/12.47, allocations: 322.6 kB / 4.136 GB, free: 93.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008995/12.47, allocations: 208.1 kB / 4.137 GB, free: 93.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01558/12.49, allocations: 5.091 MB / 4.142 GB, free: 93.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.316e-05/12.49, allocations: 41.62 kB / 4.142 GB, free: 93.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/12.49, allocations: 0 / 4.142 GB, free: 93.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001276/12.49, allocations: 20.48 kB / 4.142 GB, free: 93.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009345/12.5, allocations: 2.828 MB / 4.144 GB, free: 92.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.826e-05/12.5, allocations: 0 / 4.144 GB, free: 92.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007728/12.5, allocations: 0.7257 MB / 4.145 GB, free: 92.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.977e-05/12.5, allocations: 11.62 kB / 4.145 GB, free: 92.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008427/12.51, allocations: 96.95 kB / 4.145 GB, free: 92.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.124e-05/12.51, allocations: 13.12 kB / 4.145 GB, free: 92.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/12.51, allocations: 3.797 kB / 4.145 GB, free: 92.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01822/12.52, allocations: 7.047 MB / 4.152 GB, free: 91.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/12.53, allocations: 354.8 kB / 4.152 GB, free: 91.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001172/12.53, allocations: 74.84 kB / 4.153 GB, free: 91.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006386/12.53, allocations: 290 kB / 4.153 GB, free: 91.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001339/12.53, allocations: 312.5 kB / 4.153 GB, free: 91.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007786/12.54, allocations: 185 kB / 4.153 GB, free: 91.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001306/12.54, allocations: 0.6723 MB / 4.154 GB, free: 91.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.1e-07/12.54, allocations: 3.172 kB / 4.154 GB, free: 91.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005224/12.54, allocations: 1.133 MB / 4.155 GB, free: 90.88 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.021/12.56, allocations: 8.385 MB / 4.163 GB, free: 88.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01145/12.57, allocations: 4.172 MB / 4.167 GB, free: 87.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-05/12.57, allocations: 8.094 kB / 4.167 GB, free: 87.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005707/12.58, allocations: 2.21 MB / 4.17 GB, free: 86.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01055/12.59, allocations: 1.163 MB / 4.171 GB, free: 86.37 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02355/12.61, allocations: 6.958 MB / 4.177 GB, free: 83.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/12.62, allocations: 1.886 MB / 4.179 GB, free: 82.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003424/12.62, allocations: 0.9084 MB / 4.18 GB, free: 81.55 MB / 426.7 MB Notification: Performance of SimCode: time 1.783e-06/12.62, allocations: 0 / 4.18 GB, free: 81.55 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.04/16.66, allocations: 59.31 MB / 4.238 GB, free: 32.27 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