Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.00106, allocations: 174.1 kB / 327.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.4 MB / 0.5786 GB, free: 20.39 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008996/0.0008996, allocations: 86.05 kB / 0.6832 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003202, allocations: 10.66 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2318, allocations: 106.3 MB / 0.9015 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001244/0.2331, allocations: 0.9971 MB / 0.9024 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.2344, allocations: 0.9375 MB / 0.9033 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.542e-05/0.2344, allocations: 0 / 0.9033 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.013e-05/0.2344, allocations: 7.922 kB / 0.9034 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.235e-05/0.2345, allocations: 0 / 0.9034 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.235, allocations: 154.6 kB / 0.9035 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.017e-05/0.235, allocations: 19.88 kB / 0.9035 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.2351, allocations: 7.984 kB / 0.9035 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.27e-05/0.2351, allocations: 7.938 kB / 0.9035 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/0.2352, allocations: 8 kB / 0.9035 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.2352, allocations: 0 / 0.9035 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002712/0.2355, allocations: 198.8 kB / 0.9037 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.2355, allocations: 0 / 0.9037 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.2355, allocations: 37.64 kB / 0.9038 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.2357, allocations: 99.86 kB / 0.9039 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2357, allocations: 0 / 0.9039 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2357, allocations: 0 / 0.9039 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2357, allocations: 4 kB / 0.9039 GB, free: 61.37 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003185/0.2361, allocations: 355.8 kB / 0.9042 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2361, allocations: 8.031 kB / 0.9042 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.2363, allocations: 16.86 kB / 0.9042 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.672e-05/0.2363, allocations: 168.3 kB / 0.9044 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.2364, allocations: 384 / 0.9044 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.2364, allocations: 8.109 kB / 0.9044 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.2365, allocations: 41.69 kB / 0.9044 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.2365, allocations: 4 kB / 0.9044 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.2365, allocations: 0 / 0.9044 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2365, allocations: 4 kB / 0.9044 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.997e-05/0.2366, allocations: 15.98 kB / 0.9045 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.2367, allocations: 157.7 kB / 0.9046 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008295/0.2375, allocations: 122.5 kB / 0.9047 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.2376, allocations: 24.78 kB / 0.9048 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.868e-05/0.2377, allocations: 81.11 kB / 0.9048 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.2377, allocations: 38.55 kB / 0.9049 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.2377, allocations: 0 / 0.9049 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.000159/0.2379, allocations: 61.69 kB / 0.9049 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.2379, allocations: 55.41 kB / 0.905 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.988e-05/0.238, allocations: 93.8 kB / 0.9051 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.238, allocations: 25.7 kB / 0.9051 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.107e-05/0.238, allocations: 80.14 kB / 0.9052 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.238, allocations: 23.88 kB / 0.9052 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.238, allocations: 0 / 0.9052 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.046e-05/0.2381, allocations: 314.8 kB / 0.9055 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.2381, allocations: 8 kB / 0.9055 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.373e-05/0.2381, allocations: 4 kB / 0.9055 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.2382, allocations: 28.84 kB / 0.9055 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2382, allocations: 0 / 0.9055 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.935e-05/0.2383, allocations: 57.62 kB / 0.9056 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.2383, allocations: 4 kB / 0.9056 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2383, allocations: 7.938 kB / 0.9056 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2383, allocations: 7.938 kB / 0.9056 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.452e-05/0.2384, allocations: 4 kB / 0.9056 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.2384, allocations: 0 / 0.9056 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.2384, allocations: 7.906 kB / 0.9056 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.2384, allocations: 7.984 kB / 0.9056 GB, free: 59.34 MB / 0.6042 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.065e-05/0.2385, allocations: 105.8 kB / 0.9057 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.2385, allocations: 7.938 kB / 0.9057 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.2387, allocations: 81.44 kB / 0.9058 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2388, allocations: 0 / 0.9058 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2388, allocations: 0 / 0.9058 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2388, allocations: 3.984 kB / 0.9058 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.198e-05/0.2389, allocations: 169.6 kB / 0.906 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2389, allocations: 0 / 0.906 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.2389, allocations: 12 kB / 0.906 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2389, allocations: 3.984 kB / 0.906 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.2389, allocations: 0 / 0.906 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.239, allocations: 0 / 0.906 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.239, allocations: 0 / 0.906 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.657e-05/0.239, allocations: 85.06 kB / 0.9061 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.2391, allocations: 89.02 kB / 0.9062 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.2391, allocations: 0 / 0.9062 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.047e-05/0.2392, allocations: 7.984 kB / 0.9062 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.2392, allocations: 4 kB / 0.9062 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.2392, allocations: 0 / 0.9062 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.815e-05/0.2392, allocations: 79.28 kB / 0.9062 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2392, allocations: 3.938 kB / 0.9062 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000223/0.2395, allocations: 44 kB / 0.9063 GB, free: 58.55 MB / 0.6042 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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003335/0.2398, allocations: 171 kB / 0.9065 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.786e-05/0.2399, allocations: 24 kB / 0.9065 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2399, allocations: 0 / 0.9065 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.473e-05/0.2399, allocations: 15.98 kB / 0.9065 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.2401, allocations: 23.75 kB / 0.9065 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.2404, allocations: 158.3 kB / 0.9067 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.415e-05/0.2405, allocations: 0.683 MB / 0.9073 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.2405, allocations: 11.44 kB / 0.9073 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2405, allocations: 0 / 0.9073 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.0021/0.2426, allocations: 1.038 MB / 0.9084 GB, free: 56.37 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)