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: translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|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.|x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|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.|x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001489, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.881/1.881, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001108/0.001108, allocations: 94.05 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005148/0.0005146, allocations: 8 kB / 327 MB, free: 224 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3293, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.17/10.5, allocations: 3.623 GB / 3.988 GB, free: 2.102 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/10.5, allocations: 76.41 kB / 3.988 GB, free: 2.062 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6903/11.19, allocations: 104.4 MB / 4.09 GB, free: 74.42 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.776e-06/11.19, allocations: 0 / 4.09 GB, free: 74.42 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.361e-05/11.19, allocations: 48 kB / 4.09 GB, free: 74.38 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.01363/11.21, allocations: 2.788 MB / 4.093 GB, free: 71.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/11.21, allocations: 12.03 kB / 4.093 GB, free: 71.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003312/11.21, allocations: 317.2 kB / 4.093 GB, free: 71.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004879/11.21, allocations: 1.335 MB / 4.095 GB, free: 69.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/11.21, allocations: 180.9 kB / 4.095 GB, free: 69.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/11.22, allocations: 243.9 kB / 4.095 GB, free: 69.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01065/11.23, allocations: 3.737 MB / 4.099 GB, free: 65.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-05/11.23, allocations: 0 / 4.099 GB, free: 65.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007282/11.23, allocations: 120 kB / 4.099 GB, free: 65.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-05/11.23, allocations: 67.94 kB / 4.099 GB, free: 65.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01427/11.24, allocations: 5.896 MB / 4.105 GB, free: 59.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03292/11.27, allocations: 10.61 MB / 4.115 GB, free: 48.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/11.29, allocations: 5.031 MB / 4.12 GB, free: 43.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/11.29, allocations: 439.3 kB / 4.12 GB, free: 42.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/11.29, allocations: 98.58 kB / 4.121 GB, free: 42.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 6.302e-06/11.29, allocations: 0 / 4.121 GB, free: 42.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.01742/11.3, allocations: 5.792 MB / 4.126 GB, free: 36.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/11.3, allocations: 90.47 kB / 4.126 GB, free: 36.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/11.31, allocations: 0.7805 MB / 4.127 GB, free: 35.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001108/11.31, allocations: 105.7 kB / 4.127 GB, free: 35.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003741/11.31, allocations: 0.5292 MB / 4.128 GB, free: 35.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001788/11.31, allocations: 1.313 MB / 4.129 GB, free: 33.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004558/11.31, allocations: 68 kB / 4.129 GB, free: 33.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002973/11.31, allocations: 458.3 kB / 4.129 GB, free: 33.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005123/11.32, allocations: 1.724 MB / 4.131 GB, free: 31.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005525/11.32, allocations: 2.238 MB / 4.133 GB, free: 29.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005703/11.33, allocations: 2.107 MB / 4.135 GB, free: 27.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.452e-05/11.33, allocations: 8 kB / 4.135 GB, free: 27.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01275/11.34, allocations: 4.513 MB / 4.14 GB, free: 22.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/11.34, allocations: 12 kB / 4.14 GB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/11.34, allocations: 15.89 kB / 4.14 GB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.111e-05/11.34, allocations: 28 kB / 4.14 GB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007508/11.35, allocations: 0.7921 MB / 4.141 GB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-05/11.35, allocations: 35.92 kB / 4.141 GB, free: 21.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005068/11.35, allocations: 420.6 kB / 4.141 GB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000823/11.35, allocations: 147.9 kB / 4.141 GB, free: 21.09 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.002486/11.36, allocations: 0.7582 MB / 4.142 GB, free: 20.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008126/11.36, allocations: 209.8 kB / 4.142 GB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/11.37, allocations: 5.178 MB / 4.147 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.93e-05/11.37, allocations: 43.95 kB / 4.147 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/11.37, allocations: 0 / 4.147 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.297e-05/11.37, allocations: 27.91 kB / 4.147 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00791/11.38, allocations: 2.811 MB / 4.15 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-05/11.38, allocations: 0 / 4.15 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007173/11.39, allocations: 0.7333 MB / 4.151 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-05/11.39, allocations: 15.98 kB / 4.151 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006002/11.39, allocations: 87.97 kB / 4.151 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.663e-05/11.39, allocations: 16 kB / 4.151 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/11.39, allocations: 3.953 kB / 4.151 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0173/11.4, allocations: 7.184 MB / 4.158 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008577/11.41, allocations: 349.8 kB / 4.158 GB, free: 3.512 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008888/11.41, allocations: 79.98 kB / 4.158 GB, free: 3.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005886/11.41, allocations: 287.4 kB / 4.159 GB, free: 3.152 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001145/11.41, allocations: 318.8 kB / 4.159 GB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006757/11.41, allocations: 187.8 kB / 4.159 GB, free: 2.656 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001297/11.42, allocations: 0.6746 MB / 4.16 GB, free: 1.984 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/11.42, allocations: 0 / 4.16 GB, free: 1.984 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004521/11.42, allocations: 1.132 MB / 4.161 GB, free: 0.8516 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.2746/11.69, allocations: 0.884 MB / 4.162 GB, free: 108.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01061/11.71, allocations: 4.256 MB / 4.166 GB, free: 108.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/11.71, allocations: 7.719 kB / 4.166 GB, free: 108.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005017/11.71, allocations: 2.251 MB / 4.168 GB, free: 108.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009286/11.72, allocations: 1.156 MB / 4.169 GB, free: 108.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02047/11.74, allocations: 7.863 MB / 4.177 GB, free: 106.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002766/11.74, allocations: 1.891 MB / 4.179 GB, free: 105.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003585/11.75, allocations: 327.6 kB / 4.179 GB, free: 105.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/11.75, allocations: 0 / 4.179 GB, free: 105.4 MB / 426.7 MB Notification: Performance of Templates: time 0.1025/11.85, allocations: 48.65 MB / 4.226 GB, free: 90.23 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.makefile (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 & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe 2>&1)