Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001613/0.001613, allocations: 108 kB / 16.41 MB, free: 6.027 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.001651/0.001651, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.526/1.526, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 67.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16/1.162, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.0025/1.164, allocations: 1.286 MB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001081/1.165, allocations: 0.636 MB / 1.091 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.918e-05/1.165, allocations: 0 / 1.091 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/1.165, allocations: 4.656 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.747e-05/1.166, allocations: 6.172 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/1.166, allocations: 110.7 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.591e-05/1.166, allocations: 23.27 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/1.166, allocations: 2.641 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.048e-05/1.166, allocations: 7.781 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.962e-05/1.166, allocations: 23.58 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/1.166, allocations: 1.156 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003407/1.167, allocations: 138.3 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/1.167, allocations: 13.89 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/1.167, allocations: 10.7 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/1.167, allocations: 98.42 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/1.167, allocations: 0.9688 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.803e-06/1.167, allocations: 0 / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.222e-06/1.167, allocations: 0 / 1.091 GB, free: 4.023 MB / 0.8575 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.0004462/1.167, allocations: 349.4 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/1.167, allocations: 9.312 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00041/1.168, allocations: 31.36 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.768e-05/1.168, allocations: 170.8 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/1.168, allocations: 1.531 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/1.168, allocations: 5.344 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/1.168, allocations: 58.98 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/1.168, allocations: 192 / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/1.168, allocations: 7.938 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/1.168, allocations: 1.859 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/1.168, allocations: 30.03 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/1.169, allocations: 162.2 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/1.169, allocations: 70.02 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.76e-05/1.169, allocations: 26.28 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/1.169, allocations: 8.859 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/1.169, allocations: 32.36 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/1.169, allocations: 0 / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.003127/1.172, allocations: 0.5684 MB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/1.172, allocations: 56.12 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.396e-05/1.172, allocations: 94.7 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/1.172, allocations: 29.83 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.831e-05/1.172, allocations: 89.42 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/1.172, allocations: 23.72 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-05/1.172, allocations: 26.23 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.12e-05/1.173, allocations: 318.1 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/1.173, allocations: 34 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/1.173, allocations: 39.09 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/1.173, allocations: 90.05 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.173, allocations: 1.406 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003573/1.173, allocations: 125.8 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/1.174, allocations: 8.688 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.174, allocations: 1.125 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/1.174, allocations: 0 / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/1.174, allocations: 26.83 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/1.174, allocations: 0.6875 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/1.174, allocations: 6.188 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/1.174, allocations: 13.06 kB / 1.093 GB, free: 1.984 MB / 0.8575 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 7.229e-05/1.174, allocations: 113 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/1.174, allocations: 6.188 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.424e-05/1.174, allocations: 14.11 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.174, allocations: 0.5156 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.174, allocations: 1.094 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.174, allocations: 0.6562 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/1.174, allocations: 186.6 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.174, allocations: 0 / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/1.175, allocations: 23.16 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.175, allocations: 3.938 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/1.175, allocations: 5.156 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.175, allocations: 0 / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.175, allocations: 4 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/1.175, allocations: 193.5 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/1.175, allocations: 85.81 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/1.175, allocations: 1.875 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/1.175, allocations: 13 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/1.175, allocations: 3.984 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/1.175, allocations: 9.047 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.382e-05/1.175, allocations: 78.02 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.175, allocations: 0 / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002802/1.176, allocations: 32.61 kB / 1.094 GB, free: 1.328 MB / 0.8575 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.0002306/1.176, allocations: 138 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003644/1.176, allocations: 84.66 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.176, allocations: 0.9375 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/1.177, allocations: 50.33 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/1.177, allocations: 14.69 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/1.177, allocations: 186.1 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/1.178, allocations: 0.6831 MB / 1.095 GB, free: 332 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.132e-05/1.178, allocations: 19.7 kB / 1.095 GB, free: 328 kB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/1.178, allocations: 0 / 1.095 GB, free: 328 kB / 0.8575 GB Notification: Performance of Templates: time 0.004362/1.182, allocations: 1.573 MB / 1.097 GB, free: 212 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)