Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00132/0.001321, allocations: 102.6 kB / 16.27 MB, free: 5.863 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.001208/0.001209, allocations: 188.9 kB / 17.2 MB, free: 5.512 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.566/2.566, allocations: 437 MB / 0.711 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 76.38 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2913, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002667/0.294, allocations: 1.283 MB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.2951, allocations: 0.645 MB / 1.02 GB, free: 8.699 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.2952, allocations: 3.938 kB / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.838e-05/0.2952, allocations: 0 / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.112e-05/0.2953, allocations: 11.91 kB / 1.02 GB, free: 8.684 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.2958, allocations: 107.5 kB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.436e-05/0.2959, allocations: 19.94 kB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.296, allocations: 11.97 kB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.326e-05/0.296, allocations: 4 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.602e-05/0.2961, allocations: 15.92 kB / 1.02 GB, free: 8.527 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.2961, allocations: 4 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.2964, allocations: 143.8 kB / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.2964, allocations: 4 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.2964, allocations: 7.938 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.2966, allocations: 100 kB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2967, allocations: 0 / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2967, allocations: 4 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.341e-06/0.2967, allocations: 3.938 kB / 1.02 GB, free: 8.266 MB / 0.795 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.0004873/0.2972, allocations: 359.3 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2972, allocations: 8.922 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004435/0.2977, allocations: 32.89 kB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.2978, allocations: 164.4 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.2978, allocations: 4.375 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.2978, allocations: 384 / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.298, allocations: 54.22 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.298, allocations: 192 / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.2981, allocations: 7.922 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.2981, allocations: 3.938 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.2982, allocations: 31.98 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.2984, allocations: 161.6 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.2988, allocations: 70.58 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.664e-05/0.2989, allocations: 28.94 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.2989, allocations: 0 / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.2989, allocations: 30.56 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.2989, allocations: 3.938 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.003454/0.3024, allocations: 0.5798 MB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.3024, allocations: 51.41 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.121e-05/0.3025, allocations: 93.86 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.3025, allocations: 25.7 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.88e-05/0.3026, allocations: 80.14 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.3026, allocations: 27.69 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.3027, allocations: 25.83 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3028, allocations: 318.8 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.3029, allocations: 35.97 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.3031, allocations: 35.97 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.3034, allocations: 80.81 kB / 1.022 GB, free: 5.719 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3034, allocations: 0 / 1.022 GB, free: 5.719 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003615/0.3037, allocations: 125.5 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.3038, allocations: 11.94 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3038, allocations: 7.938 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3038, allocations: 0 / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.304, allocations: 19.97 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3041, allocations: 4 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.3042, allocations: 8 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.3042, allocations: 3.984 kB / 1.023 GB, free: 5.535 MB / 0.795 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 8.736e-05/0.3043, allocations: 109.8 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.3044, allocations: 8.266 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.098e-05/0.3044, allocations: 11.97 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3044, allocations: 7.922 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3045, allocations: 0 / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3045, allocations: 4.047 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.3046, allocations: 203.5 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3046, allocations: 3.984 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.3049, allocations: 19.97 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3049, allocations: 7.938 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.3049, allocations: 0 / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3049, allocations: 0 / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3049, allocations: 0 / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000556/0.3055, allocations: 197 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.3055, allocations: 81.05 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.3056, allocations: 4 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.3058, allocations: 16.05 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.3058, allocations: 3.938 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.3058, allocations: 7.984 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.361e-05/0.3058, allocations: 75.28 kB / 1.023 GB, free: 4.695 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3059, allocations: 0 / 1.023 GB, free: 4.695 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002496/0.3061, allocations: 39.94 kB / 1.023 GB, free: 4.656 MB / 0.795 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.0002265/0.3063, allocations: 127.2 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003531/0.3067, allocations: 84.03 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3067, allocations: 0 / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.3069, allocations: 51.89 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.3071, allocations: 18.16 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006774/0.3078, allocations: 175.8 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.308, allocations: 0.6845 MB / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.518e-05/0.3081, allocations: 23.34 kB / 1.025 GB, free: 3.434 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.3081, allocations: 4 kB / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of Templates: time 0.003276/0.3114, allocations: 1.567 MB / 1.026 GB, free: 1.875 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)