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 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.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.00187/0.00187, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001777/0.001777, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.451/1.451, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.893/2.893, allocations: 482.4 MB / 0.7553 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 68.83 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.09, allocations: 162.2 MB / 1.083 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002471/1.092, allocations: 1.282 MB / 1.084 GB, free: 1 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001054/1.093, allocations: 0.6317 MB / 1.085 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/1.093, allocations: 0 / 1.085 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/1.093, allocations: 5.875 kB / 1.085 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.934e-05/1.094, allocations: 4.547 kB / 1.085 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/1.094, allocations: 108 kB / 1.085 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.632e-05/1.094, allocations: 32.09 kB / 1.085 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.19e-05/1.094, allocations: 2.203 kB / 1.085 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.708e-05/1.094, allocations: 7.266 kB / 1.085 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.513e-05/1.094, allocations: 15.38 kB / 1.085 GB, free: 500 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/1.094, allocations: 4.875 kB / 1.085 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/1.095, allocations: 142.8 kB / 1.085 GB, free: 460 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/1.095, allocations: 10.94 kB / 1.085 GB, free: 452 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/1.095, allocations: 9.672 kB / 1.085 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/1.095, allocations: 96.7 kB / 1.085 GB, free: 420 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.095, allocations: 1.312 kB / 1.085 GB, free: 420 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.383e-06/1.095, allocations: 0 / 1.085 GB, free: 420 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.831e-06/1.095, allocations: 0 / 1.085 GB, free: 420 kB / 0.8262 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.000417/1.095, allocations: 350.5 kB / 1.086 GB, free: 44 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/1.095, allocations: 8.719 kB / 1.086 GB, free: 44 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004543/1.096, allocations: 36.27 kB / 1.086 GB, free: 36 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/1.096, allocations: 165.8 kB / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/1.096, allocations: 5.438 kB / 1.086 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/1.096, allocations: 2.156 kB / 1.086 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/1.096, allocations: 58.73 kB / 1.086 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/1.096, allocations: 192 / 1.086 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/1.096, allocations: 9.031 kB / 1.086 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/1.096, allocations: 1.156 kB / 1.086 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/1.097, allocations: 30.64 kB / 1.086 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/1.097, allocations: 160.6 kB / 1.086 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/1.097, allocations: 67.73 kB / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.477e-05/1.097, allocations: 24.53 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/1.097, allocations: 1.641 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/1.097, allocations: 36.16 kB / 1.086 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/1.097, allocations: 1.375 kB / 1.086 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.003876/1.101, allocations: 0.5804 MB / 1.087 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/1.101, allocations: 52.53 kB / 1.087 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.88e-05/1.101, allocations: 93.86 kB / 1.087 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/1.101, allocations: 35.05 kB / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/1.101, allocations: 81.03 kB / 1.087 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/1.102, allocations: 20.25 kB / 1.087 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.002e-05/1.102, allocations: 25.66 kB / 1.087 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001913/1.102, allocations: 318.2 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/1.102, allocations: 33.73 kB / 1.087 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/1.102, allocations: 43.69 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/1.103, allocations: 87.08 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/1.103, allocations: 64 / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005181/1.103, allocations: 124.8 kB / 1.088 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/1.103, allocations: 10.38 kB / 1.088 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.103, allocations: 0 / 1.088 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/1.103, allocations: 1.281 kB / 1.088 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/1.103, allocations: 25.64 kB / 1.088 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/1.103, allocations: 1.859 kB / 1.088 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/1.104, allocations: 9.312 kB / 1.088 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/1.104, allocations: 9.156 kB / 1.088 GB, free: 14.38 MB / 0.8419 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.0001373/1.104, allocations: 112.5 kB / 1.088 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/1.104, allocations: 9.938 kB / 1.088 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.866e-05/1.104, allocations: 17.64 kB / 1.088 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/1.104, allocations: 2.234 kB / 1.088 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.104, allocations: 0 / 1.088 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.104, allocations: 0.9375 kB / 1.088 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/1.104, allocations: 186.1 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.104, allocations: 1 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/1.105, allocations: 25.33 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/1.105, allocations: 5.422 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/1.105, allocations: 8.172 kB / 1.088 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.105, allocations: 1.438 kB / 1.088 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/1.105, allocations: 4 kB / 1.088 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006282/1.105, allocations: 183.4 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/1.105, allocations: 87.28 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/1.105, allocations: 1.781 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/1.106, allocations: 9.719 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/1.106, allocations: 3.516 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/1.106, allocations: 9.031 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.772e-05/1.106, allocations: 77.89 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.106, allocations: 1.531 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002994/1.106, allocations: 30.95 kB / 1.088 GB, free: 13.72 MB / 0.8419 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.0002621/1.106, allocations: 134.3 kB / 1.089 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003948/1.107, allocations: 85.84 kB / 1.089 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.107, allocations: 0 / 1.089 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/1.107, allocations: 59.25 kB / 1.089 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/1.107, allocations: 7.562 kB / 1.089 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007566/1.108, allocations: 202.2 kB / 1.089 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/1.108, allocations: 0.6786 MB / 1.09 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.856e-05/1.108, allocations: 20.22 kB / 1.09 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/1.108, allocations: 0 / 1.09 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of Templates: time 0.003985/1.112, allocations: 1.572 MB / 1.091 GB, free: 12.6 MB / 0.8419 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)