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.002389/0.002388, allocations: 178.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 85.25 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.362e-05/2.359e-05, allocations: 3.938 kB / 314.9 MB, free: 9.074 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3592, allocations: 47.55 MB / 362.4 MB, free: 45.72 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.16/11.52, allocations: 3.622 GB / 3.976 GB, free: 115.8 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/11.52, allocations: 67.75 kB / 3.976 GB, free: 115.8 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4318/11.95, allocations: 103.3 MB / 4.077 GB, free: 28.56 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.855e-06/11.95, allocations: 0 / 4.077 GB, free: 28.56 MB / 427.1 MB Notification: Performance of Transformations before backend: time 0.0001177/11.95, allocations: 52 kB / 4.077 GB, free: 28.51 MB / 427.1 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.01478/11.96, allocations: 2.689 MB / 4.079 GB, free: 25.77 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/11.96, allocations: 8.031 kB / 4.079 GB, free: 25.76 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003522/11.97, allocations: 317.3 kB / 4.08 GB, free: 25.45 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005618/11.97, allocations: 1.334 MB / 4.081 GB, free: 24.06 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/11.97, allocations: 76 kB / 4.081 GB, free: 23.99 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/11.97, allocations: 143.9 kB / 4.081 GB, free: 23.85 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01459/11.99, allocations: 5.673 MB / 4.087 GB, free: 18.16 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01135/12, allocations: 3.302 MB / 4.09 GB, free: 14.82 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.99e-05/12, allocations: 0 / 4.09 GB, free: 14.82 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007389/12, allocations: 4 kB / 4.09 GB, free: 14.82 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.236e-05/12, allocations: 60 kB / 4.09 GB, free: 14.76 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03438/12.03, allocations: 10.16 MB / 4.1 GB, free: 3.891 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3161/12.35, allocations: 4.773 MB / 4.105 GB, free: 100.8 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005344/12.36, allocations: 2.22 MB / 4.107 GB, free: 100.8 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009511/12.36, allocations: 441.1 kB / 4.107 GB, free: 100.4 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/12.36, allocations: 100.9 kB / 4.107 GB, free: 100.4 MB / 427.1 MB Notification: Performance of pre-optimization done (n=390): time 7.184e-06/12.36, allocations: 0 / 4.107 GB, free: 100.4 MB / 427.1 MB Notification: Performance of matching and sorting (n=390): time 0.01577/12.37, allocations: 4.402 MB / 4.112 GB, free: 100.2 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.472e-05/12.37, allocations: 94.66 kB / 4.112 GB, free: 100.2 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/12.37, allocations: 0.5368 MB / 4.112 GB, free: 100.1 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001093/12.38, allocations: 31.05 kB / 4.112 GB, free: 100 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/12.38, allocations: 0.5624 MB / 4.113 GB, free: 99.71 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00198/12.38, allocations: 1.258 MB / 4.114 GB, free: 99.04 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003046/12.38, allocations: 0.75 kB / 4.114 GB, free: 99.04 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0003164/12.38, allocations: 456.9 kB / 4.114 GB, free: 98.72 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00502/12.38, allocations: 1.627 MB / 4.116 GB, free: 98.71 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00572/12.39, allocations: 2.101 MB / 4.118 GB, free: 98.29 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009931/12.4, allocations: 2.635 MB / 4.121 GB, free: 98.25 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-05/12.4, allocations: 2.438 kB / 4.121 GB, free: 98.25 MB / 427.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01763/12.42, allocations: 4.798 MB / 4.125 GB, free: 98.05 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/12.42, allocations: 11.23 kB / 4.125 GB, free: 98.05 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.223e-05/12.42, allocations: 14.88 kB / 4.125 GB, free: 98.05 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.331e-05/12.42, allocations: 28.25 kB / 4.125 GB, free: 98.05 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007658/12.43, allocations: 0.7964 MB / 4.126 GB, free: 98.05 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.737e-05/12.43, allocations: 30.78 kB / 4.126 GB, free: 98.05 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005045/12.43, allocations: 334.9 kB / 4.127 GB, free: 97.98 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006439/12.43, allocations: 143.6 kB / 4.127 GB, free: 97.98 MB / 427.1 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.001118/12.43, allocations: 182.8 kB / 4.127 GB, free: 97.88 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01434/12.45, allocations: 4.406 MB / 4.131 GB, free: 97.67 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/12.45, allocations: 193.8 kB / 4.131 GB, free: 97.59 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01954/12.47, allocations: 5.39 MB / 4.137 GB, free: 97.37 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.767e-05/12.47, allocations: 44.59 kB / 4.137 GB, free: 97.37 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/12.47, allocations: 0 / 4.137 GB, free: 97.37 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001285/12.47, allocations: 18.33 kB / 4.137 GB, free: 97.37 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008822/12.48, allocations: 2.481 MB / 4.139 GB, free: 97.11 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-05/12.48, allocations: 0 / 4.139 GB, free: 97.11 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007652/12.48, allocations: 0.7312 MB / 4.14 GB, free: 97.11 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.09e-05/12.48, allocations: 17.94 kB / 4.14 GB, free: 97.11 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008562/12.49, allocations: 37.7 kB / 4.14 GB, free: 97.11 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-05/12.49, allocations: 14 kB / 4.14 GB, free: 97.11 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/12.49, allocations: 0 / 4.14 GB, free: 97.11 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02118/12.51, allocations: 7.374 MB / 4.147 GB, free: 96.61 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009612/12.51, allocations: 334.9 kB / 4.147 GB, free: 96.35 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/12.51, allocations: 7.188 kB / 4.147 GB, free: 96.35 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006405/12.52, allocations: 209.4 kB / 4.148 GB, free: 96.34 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00139/12.52, allocations: 311.1 kB / 4.148 GB, free: 96.31 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008487/12.52, allocations: 178 kB / 4.148 GB, free: 96.27 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0008758/12.52, allocations: 482.7 kB / 4.149 GB, free: 96.07 MB / 427.1 MB Notification: Performance of sort global known variables: time 5.51e-07/12.52, allocations: 0 / 4.149 GB, free: 96.07 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.005632/12.52, allocations: 1.01 MB / 4.15 GB, free: 95.98 MB / 427.1 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.02502/12.55, allocations: 8.712 MB / 4.158 GB, free: 93.36 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.01073/12.56, allocations: 3.981 MB / 4.162 GB, free: 92.39 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 1.912e-05/12.56, allocations: 8.281 kB / 4.162 GB, free: 92.39 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00544/12.57, allocations: 2.121 MB / 4.164 GB, free: 91.86 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009061/12.58, allocations: 0.8744 MB / 4.165 GB, free: 91.74 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02329/12.6, allocations: 6.584 MB / 4.171 GB, free: 90.06 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/12.6, allocations: 1.892 MB / 4.173 GB, free: 88.52 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003468/12.6, allocations: 0.8958 MB / 4.174 GB, free: 87.71 MB / 427.1 MB Notification: Performance of SimCode: time 2.866e-06/12.6, allocations: 0 / 4.174 GB, free: 87.71 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.962/16.57, allocations: 56.12 MB / 4.229 GB, free: 39.31 MB / 427.1 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