Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w|TDewPoi.T",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature") translateModel(Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w|TDewPoi.T",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009618/0.0009613, allocations: 85.94 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.969/2.969, allocations: 437.7 MB / 0.7117 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003897, allocations: 16 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8326/0.833, allocations: 153.8 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.002235/0.8353, allocations: 1.231 MB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.8369, allocations: 0.8222 MB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.8371, allocations: 0 / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.8372, allocations: 3.938 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.68e-05/0.8372, allocations: 7.938 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005944/0.8378, allocations: 175.3 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.838, allocations: 43.8 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.376e-05/0.8381, allocations: 19.92 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.776e-05/0.8381, allocations: 15.94 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.423e-05/0.8382, allocations: 19.91 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.8382, allocations: 4 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005778/0.8388, allocations: 323.5 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.8388, allocations: 7.984 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.8389, allocations: 37.64 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.8392, allocations: 149.7 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8392, allocations: 0 / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.925e-06/0.8392, allocations: 0 / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.8392, allocations: 0 / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006037/0.8399, allocations: 403.1 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.8399, allocations: 8.562 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003279/0.8402, allocations: 23.88 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.8405, allocations: 171.1 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.8405, allocations: 7.953 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.8405, allocations: 8 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.8408, allocations: 81.58 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.8408, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.8408, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.8408, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.841, allocations: 75.95 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.8415, allocations: 308.6 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.8418, allocations: 74.67 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.8419, allocations: 40.83 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.8419, allocations: 4 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.842, allocations: 34.59 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 2.925e-06/0.842, allocations: 3.984 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0004071/0.8424, allocations: 129.5 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.8424, allocations: 59.34 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.587e-05/0.8425, allocations: 109.8 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.8426, allocations: 29.7 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.8426, allocations: 84.12 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.8427, allocations: 19.75 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-06/0.8427, allocations: 0 / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.8428, allocations: 318.8 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-05/0.8429, allocations: 35.91 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.413e-05/0.843, allocations: 31.98 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.548e-05/0.8431, allocations: 35.91 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.8431, allocations: 0 / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002309/0.8433, allocations: 106 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.8434, allocations: 8 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.8434, allocations: 4 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.8434, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008509/0.8442, allocations: 111.9 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.8457, allocations: 1.378 MB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.414e-05/0.8458, allocations: 12.03 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.8458, allocations: 3.984 kB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.961e-05/0.8459, allocations: 121.7 kB / 1.029 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.8459, allocations: 3.906 kB / 1.029 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005327/0.8465, allocations: 150.5 kB / 1.029 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.8465, allocations: 7.984 kB / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.8465, allocations: 0 / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.8465, allocations: 3.953 kB / 1.029 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.8467, allocations: 177.6 kB / 1.029 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.8467, allocations: 0 / 1.029 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.844e-05/0.8468, allocations: 19.92 kB / 1.029 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003718/0.8472, allocations: 44.81 kB / 1.029 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.8472, allocations: 0 / 1.029 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.8485, allocations: 1.36 MB / 1.031 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.8485, allocations: 7.969 kB / 1.031 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005389/0.8491, allocations: 236.2 kB / 1.031 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.8492, allocations: 81.05 kB / 1.031 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.8492, allocations: 8 kB / 1.031 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.8493, allocations: 7.984 kB / 1.031 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.8494, allocations: 11.94 kB / 1.031 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.8494, allocations: 8 kB / 1.031 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.496e-05/0.8494, allocations: 83.58 kB / 1.031 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8494, allocations: 0 / 1.031 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002625/0.8497, allocations: 23.91 kB / 1.031 GB, free: 6.578 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001295/0.8498, allocations: 103.2 kB / 1.031 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000927/0.8508, allocations: 155.8 kB / 1.031 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8508, allocations: 0 / 1.031 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.8511, allocations: 162.7 kB / 1.031 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.8515, allocations: 19.92 kB / 1.031 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.8521, allocations: 207.2 kB / 1.032 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.8524, allocations: 0.6903 MB / 1.032 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.52e-05/0.8525, allocations: 0 / 1.032 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.8525, allocations: 11.44 kB / 1.032 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.8525, allocations: 7.938 kB / 1.032 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of Templates: time 0.003679/0.8562, allocations: 1.029 MB / 1.033 GB, free: 4.145 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe 2>&1)