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.003709/0.003709, allocations: 178.8 kB / 8.363 MB, free: 0.707 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.047/2.047, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001135/0.001135, allocations: 94.42 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.861e-05/1.858e-05, allocations: 4 kB / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.344, allocations: 47.55 MB / 362.3 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.59/10.93, allocations: 3.622 GB / 3.976 GB, free: 116.6 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/10.93, allocations: 68.42 kB / 3.976 GB, free: 116.6 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5148/11.45, allocations: 103.3 MB / 4.077 GB, free: 31.88 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.524e-06/11.45, allocations: 0 / 4.077 GB, free: 31.88 MB / 427.1 MB Notification: Performance of Transformations before backend: time 0.0001522/11.45, allocations: 52 kB / 4.077 GB, free: 31.83 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.01808/11.46, allocations: 2.683 MB / 4.079 GB, free: 29.09 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/11.46, allocations: 8.031 kB / 4.079 GB, free: 29.09 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004943/11.47, allocations: 313.3 kB / 4.08 GB, free: 28.78 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007011/11.48, allocations: 1.341 MB / 4.081 GB, free: 27.39 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002787/11.48, allocations: 80 kB / 4.081 GB, free: 27.31 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001338/11.48, allocations: 140 kB / 4.081 GB, free: 27.17 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01935/11.5, allocations: 5.661 MB / 4.087 GB, free: 21.5 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/11.51, allocations: 3.306 MB / 4.09 GB, free: 18.15 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001126/11.51, allocations: 0 / 4.09 GB, free: 18.15 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001091/11.51, allocations: 7.938 kB / 4.09 GB, free: 18.14 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-05/11.51, allocations: 60 kB / 4.09 GB, free: 18.09 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04457/11.56, allocations: 10.16 MB / 4.1 GB, free: 7.219 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0139/11.57, allocations: 4.782 MB / 4.105 GB, free: 2.43 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007036/11.58, allocations: 2.221 MB / 4.107 GB, free: 208 kB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3104/11.89, allocations: 436.1 kB / 4.107 GB, free: 102.8 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/11.89, allocations: 98.05 kB / 4.107 GB, free: 102.8 MB / 427.1 MB Notification: Performance of pre-optimization done (n=390): time 7.404e-06/11.89, allocations: 0 / 4.107 GB, free: 102.8 MB / 427.1 MB Notification: Performance of matching and sorting (n=390): time 0.01403/11.9, allocations: 4.411 MB / 4.112 GB, free: 102.6 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/11.9, allocations: 91.03 kB / 4.112 GB, free: 102.6 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/11.91, allocations: 0.5298 MB / 4.112 GB, free: 102.5 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008722/11.91, allocations: 34.91 kB / 4.112 GB, free: 102.4 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/11.91, allocations: 0.564 MB / 4.113 GB, free: 102.1 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001664/11.91, allocations: 1.259 MB / 4.114 GB, free: 101.4 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002976/11.91, allocations: 0 / 4.114 GB, free: 101.4 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0002561/11.91, allocations: 456.6 kB / 4.114 GB, free: 101.1 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004164/11.91, allocations: 1.621 MB / 4.116 GB, free: 101.1 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004883/11.92, allocations: 2.101 MB / 4.118 GB, free: 100.7 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009391/11.93, allocations: 2.64 MB / 4.121 GB, free: 100.6 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.805e-05/11.93, allocations: 0 / 4.121 GB, free: 100.6 MB / 427.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01643/11.94, allocations: 4.799 MB / 4.125 GB, free: 100.4 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/11.94, allocations: 12.22 kB / 4.125 GB, free: 100.4 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.282e-05/11.94, allocations: 13.56 kB / 4.125 GB, free: 100.4 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.721e-05/11.94, allocations: 28.48 kB / 4.125 GB, free: 100.4 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007758/11.95, allocations: 0.7952 MB / 4.126 GB, free: 100.4 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.577e-05/11.95, allocations: 34.7 kB / 4.126 GB, free: 100.4 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00484/11.96, allocations: 332.7 kB / 4.126 GB, free: 100.4 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005317/11.96, allocations: 143.6 kB / 4.127 GB, free: 100.4 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.00108/11.96, allocations: 179.9 kB / 4.127 GB, free: 100.3 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000771/11.96, allocations: 186.6 kB / 4.127 GB, free: 100.2 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01635/11.98, allocations: 5.4 MB / 4.132 GB, free: 99.97 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.236e-05/11.98, allocations: 42.25 kB / 4.132 GB, free: 99.97 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/11.98, allocations: 0 / 4.132 GB, free: 99.97 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-05/11.98, allocations: 20.25 kB / 4.132 GB, free: 99.97 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007603/11.98, allocations: 2.475 MB / 4.135 GB, free: 99.7 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.875e-05/11.98, allocations: 0 / 4.135 GB, free: 99.7 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007196/11.99, allocations: 0.7374 MB / 4.135 GB, free: 99.7 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.132e-05/11.99, allocations: 13.91 kB / 4.135 GB, free: 99.7 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005031/11.99, allocations: 38.2 kB / 4.135 GB, free: 99.7 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.162e-05/11.99, allocations: 12.97 kB / 4.135 GB, free: 99.7 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/11.99, allocations: 0 / 4.135 GB, free: 99.7 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01844/12.01, allocations: 7.37 MB / 4.143 GB, free: 99.33 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007824/12.01, allocations: 340.8 kB / 4.143 GB, free: 99.08 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007901/12.01, allocations: 9.031 kB / 4.143 GB, free: 99.08 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005479/12.02, allocations: 211.4 kB / 4.143 GB, free: 99.07 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009245/12.02, allocations: 309.6 kB / 4.144 GB, free: 99.07 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005966/12.02, allocations: 175.8 kB / 4.144 GB, free: 99.07 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0007673/12.02, allocations: 483.4 kB / 4.144 GB, free: 98.98 MB / 427.1 MB Notification: Performance of sort global known variables: time 6.11e-07/12.02, allocations: 0 / 4.144 GB, free: 98.98 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.004416/12.02, allocations: 1.008 MB / 4.145 GB, free: 98.91 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.002571/12.03, allocations: 0.8933 MB / 4.146 GB, free: 98.78 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.008949/12.04, allocations: 3.977 MB / 4.15 GB, free: 98.72 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 1.736e-05/12.04, allocations: 6.531 kB / 4.15 GB, free: 98.72 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004517/12.04, allocations: 2.128 MB / 4.152 GB, free: 98.7 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008272/12.05, allocations: 0.8826 MB / 4.153 GB, free: 98.63 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/12.07, allocations: 5.97 MB / 4.159 GB, free: 97.29 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001618/12.07, allocations: 1.887 MB / 4.16 GB, free: 96.46 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002722/12.07, allocations: 317.5 kB / 4.161 GB, free: 96.43 MB / 427.1 MB Notification: Performance of SimCode: time 1.433e-06/12.07, allocations: 0 / 4.161 GB, free: 96.43 MB / 427.1 MB Notification: Performance of Templates: time 0.08992/12.16, allocations: 45.68 MB / 4.205 GB, free: 66.74 MB / 427.1 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)