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.001476/0.001475, allocations: 181.5 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.013/2.013, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001037/0.001037, allocations: 86.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.804e-05/3.819e-05, allocations: 0 / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.09399, allocations: 47.58 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.11/11.2, allocations: 3.623 GB / 3.983 GB, free: 119.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/11.2, allocations: 74.5 kB / 3.983 GB, free: 119.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4286/11.63, allocations: 104.4 MB / 4.085 GB, free: 52.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.785e-06/11.63, allocations: 0 / 4.085 GB, free: 52.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000113/11.63, allocations: 48 kB / 4.085 GB, free: 52.05 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.01424/11.64, allocations: 2.691 MB / 4.088 GB, free: 49.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/11.64, allocations: 12.03 kB / 4.088 GB, free: 49.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003388/11.65, allocations: 305.3 kB / 4.088 GB, free: 48.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005256/11.65, allocations: 1.33 MB / 4.089 GB, free: 47.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003032/11.65, allocations: 188.9 kB / 4.089 GB, free: 47.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001155/11.65, allocations: 236 kB / 4.09 GB, free: 47.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01157/11.66, allocations: 3.675 MB / 4.093 GB, free: 43.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.36e-05/11.67, allocations: 0 / 4.093 GB, free: 43.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008315/11.67, allocations: 120 kB / 4.093 GB, free: 43.35 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.871e-05/11.67, allocations: 59.94 kB / 4.093 GB, free: 43.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01548/11.68, allocations: 5.796 MB / 4.099 GB, free: 37.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03473/11.72, allocations: 10.62 MB / 4.109 GB, free: 26.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01127/11.73, allocations: 4.941 MB / 4.114 GB, free: 21.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005769/11.73, allocations: 2.349 MB / 4.117 GB, free: 18.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/11.73, allocations: 439.3 kB / 4.117 GB, free: 18.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/11.73, allocations: 102.3 kB / 4.117 GB, free: 18.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 6.542e-06/11.73, allocations: 0 / 4.117 GB, free: 18.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.01226/11.75, allocations: 3.992 MB / 4.121 GB, free: 14.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/11.75, allocations: 90.47 kB / 4.121 GB, free: 14.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/11.75, allocations: 0.773 MB / 4.122 GB, free: 13.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001106/11.75, allocations: 101.7 kB / 4.122 GB, free: 13.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/11.75, allocations: 0.5369 MB / 4.122 GB, free: 12.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001878/11.75, allocations: 1.305 MB / 4.124 GB, free: 11.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005604/11.75, allocations: 68 kB / 4.124 GB, free: 11.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003584/11.75, allocations: 458.3 kB / 4.124 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004946/11.76, allocations: 1.693 MB / 4.126 GB, free: 9.113 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005445/11.76, allocations: 2.192 MB / 4.128 GB, free: 6.766 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00555/11.77, allocations: 2.069 MB / 4.13 GB, free: 4.684 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-05/11.77, allocations: 4 kB / 4.13 GB, free: 4.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.0125/11.78, allocations: 4.435 MB / 4.134 GB, free: 224 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/11.78, allocations: 15.98 kB / 4.134 GB, free: 208 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.531e-05/11.78, allocations: 16 kB / 4.134 GB, free: 192 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.786e-05/11.78, allocations: 31.94 kB / 4.134 GB, free: 160 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2954/12.08, allocations: 0.7818 MB / 4.135 GB, free: 96.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001166/12.08, allocations: 34.52 kB / 4.135 GB, free: 96.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00547/12.08, allocations: 425.4 kB / 4.136 GB, free: 96.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001067/12.08, allocations: 146.6 kB / 4.136 GB, free: 96.28 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.001297/12.09, allocations: 321.1 kB / 4.136 GB, free: 96.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009764/12.09, allocations: 211.6 kB / 4.136 GB, free: 96.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01773/12.1, allocations: 5.083 MB / 4.141 GB, free: 95.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.577e-05/12.1, allocations: 40.59 kB / 4.141 GB, free: 95.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/12.1, allocations: 0.7031 kB / 4.141 GB, free: 95.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001482/12.1, allocations: 20.39 kB / 4.141 GB, free: 95.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009636/12.11, allocations: 2.825 MB / 4.144 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-05/12.11, allocations: 0 / 4.144 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007716/12.12, allocations: 0.7275 MB / 4.145 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.67e-05/12.12, allocations: 17.66 kB / 4.145 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008296/12.12, allocations: 93.11 kB / 4.145 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.621e-05/12.12, allocations: 15.23 kB / 4.145 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/12.12, allocations: 3.219 kB / 4.145 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02087/12.14, allocations: 7.045 MB / 4.152 GB, free: 95.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/12.15, allocations: 358.8 kB / 4.152 GB, free: 95.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001279/12.15, allocations: 73.88 kB / 4.152 GB, free: 95.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006351/12.15, allocations: 293 kB / 4.152 GB, free: 95.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001582/12.15, allocations: 311.3 kB / 4.153 GB, free: 95.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00145/12.16, allocations: 178.6 kB / 4.153 GB, free: 95.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001457/12.16, allocations: 0.6673 MB / 4.154 GB, free: 94.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.42e-07/12.16, allocations: 0 / 4.154 GB, free: 94.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005946/12.16, allocations: 1.14 MB / 4.155 GB, free: 94.9 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.003678/12.17, allocations: 0.8875 MB / 4.156 GB, free: 94.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01164/12.18, allocations: 4.17 MB / 4.16 GB, free: 94.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.747e-05/12.18, allocations: 5.906 kB / 4.16 GB, free: 94.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005814/12.18, allocations: 2.205 MB / 4.162 GB, free: 94.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01038/12.2, allocations: 1.165 MB / 4.163 GB, free: 94.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/12.22, allocations: 6.216 MB / 4.169 GB, free: 93.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/12.22, allocations: 1.89 MB / 4.171 GB, free: 93.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002838/12.22, allocations: 326.8 kB / 4.171 GB, free: 93.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/12.22, allocations: 0 / 4.171 GB, free: 93.07 MB / 426.7 MB Notification: Performance of Templates: time 0.097/12.32, allocations: 48.66 MB / 4.219 GB, free: 74.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)