Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 102.2 kB / 16.27 MB, free: 6 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.001303/0.001303, allocations: 191 kB / 17.2 MB, free: 5.609 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.429/1.429, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 482.4 MB / 0.7553 GB, free: 7 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 64.44 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9999/1.002, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002735/1.005, allocations: 1.238 MB / 1.084 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005133/1.005, allocations: 229.5 kB / 1.084 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.17e-05/1.005, allocations: 0 / 1.084 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.205e-05/1.005, allocations: 4.562 kB / 1.084 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.403e-05/1.005, allocations: 8.578 kB / 1.084 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/1.006, allocations: 40.55 kB / 1.084 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.006e-05/1.006, allocations: 24.61 kB / 1.084 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/1.006, allocations: 3.594 kB / 1.084 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.482e-05/1.006, allocations: 8.984 kB / 1.084 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.52e-05/1.006, allocations: 14.31 kB / 1.084 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/1.006, allocations: 1.156 kB / 1.084 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/1.006, allocations: 42.19 kB / 1.085 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/1.006, allocations: 10.44 kB / 1.085 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/1.006, allocations: 6.078 kB / 1.085 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/1.006, allocations: 36.97 kB / 1.085 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/1.006, allocations: 1 kB / 1.085 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.292e-06/1.006, allocations: 0 / 1.085 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.51e-06/1.006, allocations: 0 / 1.085 GB, free: 0.5586 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000349/1.007, allocations: 344.8 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/1.007, allocations: 9.281 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/1.007, allocations: 10.11 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/1.007, allocations: 171.2 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/1.007, allocations: 4.312 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/1.007, allocations: 2.531 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/1.007, allocations: 43.66 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/1.007, allocations: 0.8125 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/1.007, allocations: 12.86 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/1.007, allocations: 4 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.569e-05/1.007, allocations: 14.31 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/1.007, allocations: 155 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/1.008, allocations: 45.25 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.813e-05/1.008, allocations: 24.12 kB / 1.085 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/1.008, allocations: 1.438 kB / 1.085 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/1.008, allocations: 39.08 kB / 1.085 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/1.008, allocations: 1.438 kB / 1.085 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.002222/1.01, allocations: 0.4906 MB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/1.01, allocations: 53.19 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.951e-05/1.01, allocations: 90.56 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/1.01, allocations: 27.08 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/1.01, allocations: 80.14 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/1.01, allocations: 29.06 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/1.01, allocations: 20.09 kB / 1.086 GB, free: 15 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.01, allocations: 322.8 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.345e-05/1.01, allocations: 25.09 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.086e-05/1.01, allocations: 30.75 kB / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/1.011, allocations: 57.16 kB / 1.087 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/1.011, allocations: 0 / 1.087 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001717/1.011, allocations: 95.97 kB / 1.087 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.011, allocations: 9.891 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.011, allocations: 0 / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.011, allocations: 0.9375 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/1.011, allocations: 14.16 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.011, allocations: 0.75 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.65e-05/1.011, allocations: 5.219 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/1.011, allocations: 1.094 kB / 1.087 GB, free: 14.55 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 (9): * Single equations (assignments): 9 * 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.0001003/1.011, allocations: 116.8 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/1.011, allocations: 6.812 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.908e-05/1.011, allocations: 16.81 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.011, allocations: 1.031 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.011, allocations: 0.7812 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.011, allocations: 1.375 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/1.011, allocations: 167.7 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.011, allocations: 5 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/1.012, allocations: 13.45 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/1.012, allocations: 4.469 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/1.012, allocations: 4.5 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.012, allocations: 1.656 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/1.012, allocations: 0.5 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/1.012, allocations: 154.4 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/1.012, allocations: 82.92 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/1.012, allocations: 7.266 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/1.012, allocations: 3.766 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/1.012, allocations: 4.891 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/1.012, allocations: 9.797 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.586e-05/1.012, allocations: 76.28 kB / 1.087 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.366e-06/1.012, allocations: 0 / 1.087 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002014/1.012, allocations: 13.91 kB / 1.087 GB, free: 13.9 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 (8): * Single equations (assignments): 8 * 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.0001624/1.013, allocations: 110.2 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001888/1.013, allocations: 59.86 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.013, allocations: 0 / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.691e-05/1.013, allocations: 33.58 kB / 1.088 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/1.013, allocations: 5.125 kB / 1.088 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006408/1.014, allocations: 211.6 kB / 1.088 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/1.014, allocations: 0.6828 MB / 1.088 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/1.014, allocations: 11 kB / 1.088 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/1.014, allocations: 4 kB / 1.088 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of Templates: time 0.002853/1.017, allocations: 0.8963 MB / 1.089 GB, free: 12.84 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)