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.001084/0.001084, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001262/0.001262, allocations: 193.5 kB / 16.14 MB, free: 6.688 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.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.971/2.971, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 66.2 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3881, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002636/0.3908, allocations: 1.35 MB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.3918, allocations: 0.5764 MB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.3918, allocations: 0 / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.3919, allocations: 3.984 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.39e-05/0.3919, allocations: 11.92 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.3924, allocations: 83.7 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.455e-05/0.3924, allocations: 15.88 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.3925, allocations: 0 / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.381e-05/0.3925, allocations: 8 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.363e-05/0.3926, allocations: 7.938 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.3926, allocations: 0 / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.393, allocations: 159.7 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.393, allocations: 0 / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.393, allocations: 4 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.3933, allocations: 92.06 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3933, allocations: 0 / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.72e-07/0.3933, allocations: 4 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3933, allocations: 0 / 1.07 GB, free: 8.609 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.0003912/0.3937, allocations: 343.5 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3937, allocations: 12.03 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004681/0.3942, allocations: 36.8 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.3944, allocations: 160.4 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.3944, allocations: 4.375 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.3944, allocations: 384 / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.3946, allocations: 54.16 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3946, allocations: 192 / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.3946, allocations: 3.938 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3946, allocations: 4 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.3948, allocations: 19.97 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.395, allocations: 173.5 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.3951, allocations: 38.5 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.159e-05/0.3952, allocations: 20.91 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.3953, allocations: 0 / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.3953, allocations: 34.56 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3953, allocations: 0 / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000349/0.3957, allocations: 77.53 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.3957, allocations: 51.41 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.993e-05/0.3958, allocations: 97.84 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.3958, allocations: 29.83 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.3959, allocations: 84.14 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.3959, allocations: 7.906 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.396, allocations: 13.7 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3961, allocations: 314.8 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.868e-05/0.3962, allocations: 11.98 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.367e-05/0.3962, allocations: 19.98 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.3964, allocations: 24.84 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3964, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000181/0.3966, allocations: 61.61 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3966, allocations: 4 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3966, allocations: 8.031 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3966, allocations: 0 / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.3967, allocations: 7.984 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3968, allocations: 4 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.578e-05/0.3968, allocations: 8 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.3969, allocations: 3.984 kB / 1.071 GB, free: 6.684 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.42e-05/0.3969, allocations: 113.8 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.397, allocations: 0 / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.397, allocations: 11.06 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.397, allocations: 0 / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.397, allocations: 3.938 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.397, allocations: 4.188 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.3972, allocations: 157.6 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3972, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.496e-05/0.3973, allocations: 11.97 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3973, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3973, allocations: 3.938 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.3973, allocations: 11.97 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3973, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.3975, allocations: 88.98 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/0.3976, allocations: 85.09 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.3976, allocations: 7.938 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.46e-05/0.3977, allocations: 4.031 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.3977, allocations: 0 / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.3978, allocations: 4 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.178e-05/0.3978, allocations: 79.27 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.71e-07/0.3978, allocations: 0 / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002134/0.398, allocations: 12 kB / 1.072 GB, free: 6 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.0002227/0.3983, allocations: 111.2 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001886/0.3985, allocations: 31.97 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3985, allocations: 0 / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.176e-05/0.3985, allocations: 19.92 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.3988, allocations: 10.75 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.3992, allocations: 126.6 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.3995, allocations: 0.6731 MB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.166e-05/0.3996, allocations: 11.98 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.3996, allocations: 7.438 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3996, allocations: 0 / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of Templates: time 0.00296/0.4026, allocations: 0.715 MB / 1.074 GB, free: 4.242 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)