Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001518/0.001518, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.637/1.637, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.728/2.728, allocations: 472.6 MB / 0.7451 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 65.83 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3295, allocations: 159.9 MB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002623/0.3322, allocations: 1.287 MB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000982/0.3332, allocations: 0.5629 MB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.873e-05/0.3332, allocations: 0 / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.3333, allocations: 0 / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.03e-05/0.3333, allocations: 11.91 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.3338, allocations: 99.58 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.3338, allocations: 19.81 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.178e-05/0.3339, allocations: 3.984 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.69e-05/0.3339, allocations: 4 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.899e-05/0.334, allocations: 8 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.334, allocations: 0 / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000288/0.3343, allocations: 147.7 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.3343, allocations: 7.938 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.3344, allocations: 4 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.3346, allocations: 92.05 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.3346, allocations: 4 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3346, allocations: 4 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.3346, allocations: 0 / 1.07 GB, free: 8.277 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.0004012/0.335, allocations: 343.5 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.335, allocations: 8.031 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004862/0.3355, allocations: 28.81 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3357, allocations: 160.4 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3357, allocations: 8.375 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.3357, allocations: 4.375 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.3359, allocations: 46.16 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.3359, allocations: 4.188 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3359, allocations: 3.938 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3359, allocations: 0 / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.3361, allocations: 23.97 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.3363, allocations: 161.6 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.3364, allocations: 42.55 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.551e-05/0.3365, allocations: 20.8 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.3365, allocations: 0 / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.3366, allocations: 42.55 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.3366, allocations: 0 / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003318/0.3369, allocations: 69.61 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.337, allocations: 55.39 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.986e-05/0.3371, allocations: 93.86 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3371, allocations: 29.83 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.3372, allocations: 84.14 kB / 1.072 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.3372, allocations: 7.906 kB / 1.072 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.3373, allocations: 21.64 kB / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3374, allocations: 310.8 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.3375, allocations: 15.92 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.311e-05/0.3376, allocations: 15.98 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.3377, allocations: 28.84 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3377, allocations: 0 / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002099/0.3379, allocations: 57.67 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3379, allocations: 4 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.338, allocations: 4.031 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.338, allocations: 4 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.3381, allocations: 11.98 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.3381, allocations: 0 / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.866e-05/0.3382, allocations: 0 / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.3382, allocations: 3.984 kB / 1.072 GB, free: 6.371 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.45e-05/0.3383, allocations: 125.7 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.3383, allocations: 192 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.3383, allocations: 15.05 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3384, allocations: 4 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3384, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3384, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.3385, allocations: 161.6 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3385, allocations: 3.984 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.503e-05/0.3386, allocations: 4 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3386, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.3386, allocations: 11.92 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3386, allocations: 11.94 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3386, allocations: 0 / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.3388, allocations: 77.11 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.291e-05/0.3389, allocations: 85.09 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.3389, allocations: 3.938 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.407e-05/0.339, allocations: 4.031 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.339, allocations: 11.94 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.339, allocations: 3.984 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.066e-05/0.3391, allocations: 79.28 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3391, allocations: 0 / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002158/0.3393, allocations: 8 kB / 1.073 GB, free: 5.676 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.0001781/0.3395, allocations: 115.8 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00019/0.3397, allocations: 27.97 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3397, allocations: 4 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.053e-05/0.3398, allocations: 19.92 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.3401, allocations: 4.938 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.3405, allocations: 118.6 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.3408, allocations: 0.6768 MB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.513e-05/0.3409, allocations: 8 kB / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.3409, allocations: 7.438 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3409, allocations: 0 / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of Templates: time 0.003064/0.344, allocations: 0.7477 MB / 1.074 GB, free: 3.902 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)