Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001681/0.001681, allocations: 193.3 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.801/2.801, allocations: 472.6 MB / 0.7448 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 60.08 kB / 0.9115 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.333, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.0026/0.3356, allocations: 1.346 MB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3368, allocations: 0.5648 MB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.203e-05/0.3369, allocations: 0 / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/0.3369, allocations: 3.938 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.181e-05/0.337, allocations: 11.98 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.3374, allocations: 79.66 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.985e-05/0.3375, allocations: 31.78 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.475e-05/0.3376, allocations: 4 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.457e-05/0.3376, allocations: 4 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.107e-05/0.3377, allocations: 0 / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.3377, allocations: 4 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.338, allocations: 147.7 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.338, allocations: 15.91 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.338, allocations: 4 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.3382, allocations: 92.06 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3382, allocations: 0 / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3382, allocations: 0 / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3383, allocations: 0 / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004787/0.3387, allocations: 345.2 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3388, allocations: 8.031 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/0.3393, allocations: 36.8 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.3394, allocations: 164.3 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3394, allocations: 384 / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.3394, allocations: 4.375 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.3396, allocations: 54.2 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3396, allocations: 4.125 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.3397, allocations: 3.938 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3397, allocations: 4 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.3398, allocations: 19.98 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.34, allocations: 161.5 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.3402, allocations: 38.53 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.079e-05/0.3403, allocations: 28.84 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.3403, allocations: 0 / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.3403, allocations: 34.56 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3403, allocations: 0 / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003527/0.3407, allocations: 69.69 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.3407, allocations: 59.44 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.969e-05/0.3408, allocations: 101.8 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.3409, allocations: 29.7 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.3409, allocations: 80.14 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.3409, allocations: 3.906 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.341, allocations: 21.7 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3411, allocations: 310.8 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.477e-05/0.3412, allocations: 11.98 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/0.3413, allocations: 12 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.3414, allocations: 28.83 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3414, allocations: 4 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001663/0.3416, allocations: 61.73 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3416, allocations: 4 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3416, allocations: 3.938 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3416, allocations: 3.938 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3418, allocations: 11.98 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3418, allocations: 0 / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.959e-05/0.3418, allocations: 0 / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.3419, allocations: 4 kB / 1.072 GB, free: 6.598 MB / 0.8262 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 (2): * Single equations (assignments): 2 * 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 8.365e-05/0.3419, allocations: 117.8 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.342, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.342, allocations: 15.06 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.342, allocations: 0 / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.342, allocations: 0 / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.342, allocations: 0 / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.3422, allocations: 161.6 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3422, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.859e-05/0.3422, allocations: 11.98 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3423, allocations: 3.938 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.3423, allocations: 11.94 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3423, allocations: 3.938 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3423, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.3425, allocations: 93.03 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.3426, allocations: 81.09 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.3426, allocations: 3.938 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.3426, allocations: 4 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.3427, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.3427, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.935e-05/0.3427, allocations: 83.45 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3427, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002029/0.3429, allocations: 16 kB / 1.072 GB, free: 5.906 MB / 0.8262 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 (2): * Single equations (assignments): 2 * 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.0001815/0.3431, allocations: 115.3 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001786/0.3433, allocations: 27.97 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3433, allocations: 0 / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.34e-05/0.3434, allocations: 19.92 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.3436, allocations: 10.38 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.344, allocations: 122.6 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.3442, allocations: 0.6691 MB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000105/0.3443, allocations: 19.92 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.3444, allocations: 15.42 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3444, allocations: 0 / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of Templates: time 0.003016/0.3474, allocations: 0.7285 MB / 1.074 GB, free: 4.129 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)