Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.001441, allocations: 100.1 kB / 15.88 MB, free: 12 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.001666/0.001666, allocations: 197.6 kB / 16.79 MB, free: 6.809 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.403/1.403, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.792/2.792, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 66.7 kB / 0.8991 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3161, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002639/0.3188, allocations: 1.344 MB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.3199, allocations: 0.6622 MB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.7e-05/0.32, allocations: 0 / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.32, allocations: 0 / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.319e-05/0.3201, allocations: 7.875 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.3205, allocations: 91.62 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.555e-05/0.3206, allocations: 23.92 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.3206, allocations: 4 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.606e-05/0.3206, allocations: 11.98 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.235e-05/0.3207, allocations: 15.86 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.3207, allocations: 4 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003052/0.321, allocations: 147.7 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.3211, allocations: 7.984 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.3211, allocations: 15.92 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.3213, allocations: 64.14 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3213, allocations: 0 / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3213, allocations: 4 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.3213, allocations: 4 kB / 1.055 GB, free: 5.898 MB / 0.8106 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.0004791/0.3218, allocations: 351.4 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3218, allocations: 11.97 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004417/0.3223, allocations: 32.89 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.3224, allocations: 164.4 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.3224, allocations: 4.375 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.3225, allocations: 8.375 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.3227, allocations: 54.16 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3227, allocations: 192 / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3227, allocations: 7.938 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3227, allocations: 0 / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.3229, allocations: 27.97 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.3231, allocations: 173.5 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.3234, allocations: 62.53 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.72e-05/0.3235, allocations: 36.88 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.3236, allocations: 0 / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.3236, allocations: 38.5 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3236, allocations: 0 / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.003953/0.3276, allocations: 0.5798 MB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.3277, allocations: 51.41 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.3278, allocations: 97.86 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.3278, allocations: 25.7 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.3279, allocations: 84.08 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.846e-05/0.328, allocations: 23.7 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.912e-05/0.328, allocations: 25.7 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.3282, allocations: 315 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.3284, allocations: 35.97 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.3286, allocations: 39.95 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.3289, allocations: 84.77 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3289, allocations: 0 / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003934/0.3293, allocations: 117.6 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.3293, allocations: 11.92 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3293, allocations: 0 / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.3293, allocations: 4.328 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.3296, allocations: 23.97 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3296, allocations: 0 / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.3298, allocations: 4 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.3298, allocations: 7.984 kB / 1.058 GB, free: 3.16 MB / 0.8106 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 (7): * Single equations (assignments): 7 * 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 0.000131/0.3299, allocations: 113.8 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.33, allocations: 11.92 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.381e-05/0.3301, allocations: 11.97 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3301, allocations: 0 / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.3301, allocations: 0 / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3301, allocations: 4 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.3304, allocations: 183.7 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3304, allocations: 4 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.3306, allocations: 23.97 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.3306, allocations: 3.938 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.3307, allocations: 7.984 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.3307, allocations: 64 / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3307, allocations: 7.938 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005889/0.3313, allocations: 196.9 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.3314, allocations: 81.05 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.3314, allocations: 4.031 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.3316, allocations: 7.984 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.3316, allocations: 12.06 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.3316, allocations: 7.984 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.004e-05/0.3317, allocations: 75.28 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3317, allocations: 0 / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002832/0.332, allocations: 31.94 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002595/0.3322, allocations: 131.2 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003767/0.3326, allocations: 95.95 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3326, allocations: 0 / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.3328, allocations: 43.95 kB / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.3331, allocations: 9.219 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006973/0.3338, allocations: 195.4 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.3341, allocations: 0.6809 MB / 1.059 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.335e-05/0.3342, allocations: 19.41 kB / 1.059 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of SimCode: time 4.51e-07/0.3342, allocations: 3.938 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of Templates: time 0.00358/0.3378, allocations: 1.559 MB / 1.061 GB, free: 15.5 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)