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.001614/0.001614, allocations: 103.6 kB / 15.98 MB, free: 6.355 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.001871/0.00187, allocations: 195.1 kB / 16.91 MB, free: 6.191 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.475/1.475, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.482/2.482, allocations: 390.3 MB / 0.665 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 65.8 kB / 0.8127 GB, free: 32.51 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3373, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002959/0.3403, allocations: 1.352 MB / 0.9511 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.3415, allocations: 0.6416 MB / 0.9517 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.214e-05/0.3415, allocations: 0 / 0.9517 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.3416, allocations: 0 / 0.9517 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.094e-05/0.3417, allocations: 3.938 kB / 0.9517 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005587/0.3422, allocations: 91.69 kB / 0.9518 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.397e-05/0.3423, allocations: 31.86 kB / 0.9519 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.3423, allocations: 4 kB / 0.9519 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.881e-05/0.3424, allocations: 15.91 kB / 0.9519 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.041e-05/0.3425, allocations: 11.98 kB / 0.9519 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.3425, allocations: 4 kB / 0.9519 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000306/0.3428, allocations: 151.7 kB / 0.952 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.3428, allocations: 3.938 kB / 0.952 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.3428, allocations: 12 kB / 0.952 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.343, allocations: 60.14 kB / 0.9521 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.343, allocations: 4 kB / 0.9521 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3431, allocations: 11.94 kB / 0.9521 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3431, allocations: 0 / 0.9521 GB, free: 6.816 MB / 0.7325 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.0005443/0.3436, allocations: 351.4 kB / 0.9525 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3437, allocations: 8.031 kB / 0.9525 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000481/0.3442, allocations: 32.89 kB / 0.9525 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.3443, allocations: 164.4 kB / 0.9526 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3443, allocations: 384 / 0.9526 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.3444, allocations: 4.375 kB / 0.9527 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.3445, allocations: 54.22 kB / 0.9527 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3446, allocations: 8.172 kB / 0.9527 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.3446, allocations: 7.875 kB / 0.9527 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3446, allocations: 0 / 0.9527 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.3448, allocations: 31.92 kB / 0.9528 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.345, allocations: 161.6 kB / 0.9529 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.3453, allocations: 66.58 kB / 0.953 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.718e-05/0.3454, allocations: 28.94 kB / 0.953 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.3455, allocations: 3.984 kB / 0.953 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.3455, allocations: 38.56 kB / 0.953 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3455, allocations: 0 / 0.953 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.003685/0.3492, allocations: 0.5797 MB / 0.9536 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.3492, allocations: 51.41 kB / 0.9537 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.3493, allocations: 93.86 kB / 0.9537 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.3494, allocations: 29.7 kB / 0.9538 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.3494, allocations: 80.14 kB / 0.9538 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.3494, allocations: 15.8 kB / 0.9539 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.3495, allocations: 25.7 kB / 0.9539 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3497, allocations: 323 kB / 0.9542 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.3498, allocations: 35.97 kB / 0.9542 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.3499, allocations: 31.97 kB / 0.9543 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.3502, allocations: 92.75 kB / 0.9543 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3502, allocations: 0 / 0.9543 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003552/0.3506, allocations: 129.6 kB / 0.9545 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.3506, allocations: 7.938 kB / 0.9545 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.3506, allocations: 0 / 0.9545 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3507, allocations: 4 kB / 0.9545 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.3509, allocations: 27.97 kB / 0.9545 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3509, allocations: 0 / 0.9545 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.3511, allocations: 8.062 kB / 0.9545 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.3511, allocations: 7.984 kB / 0.9545 GB, free: 4.078 MB / 0.7325 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 9.318e-05/0.3512, allocations: 109.8 kB / 0.9546 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.3512, allocations: 11.88 kB / 0.9546 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.949e-05/0.3513, allocations: 11.97 kB / 0.9547 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3513, allocations: 0 / 0.9547 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.3513, allocations: 7.984 kB / 0.9547 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3513, allocations: 0 / 0.9547 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.3515, allocations: 179.5 kB / 0.9548 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3515, allocations: 4 kB / 0.9548 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.3518, allocations: 27.91 kB / 0.9549 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.3518, allocations: 3.938 kB / 0.9549 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.3518, allocations: 8 kB / 0.9549 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3518, allocations: 0 / 0.9549 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3518, allocations: 0 / 0.9549 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/0.3524, allocations: 188.9 kB / 0.9551 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.3524, allocations: 85.05 kB / 0.9551 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.3524, allocations: 4.031 kB / 0.9551 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.3526, allocations: 7.984 kB / 0.9551 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.3527, allocations: 8.062 kB / 0.9552 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.3527, allocations: 7.984 kB / 0.9552 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.557e-05/0.3527, allocations: 75.28 kB / 0.9552 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3527, allocations: 3.938 kB / 0.9552 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002559/0.353, allocations: 39.94 kB / 0.9553 GB, free: 3.215 MB / 0.7325 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.0002255/0.3532, allocations: 131.1 kB / 0.9554 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003465/0.3536, allocations: 92.02 kB / 0.9555 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3536, allocations: 0 / 0.9555 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.3538, allocations: 47.91 kB / 0.9555 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.354, allocations: 9.672 kB / 0.9555 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007577/0.3548, allocations: 204.1 kB / 0.9557 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.3551, allocations: 0.6807 MB / 0.9564 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.3552, allocations: 19.41 kB / 0.9564 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.3552, allocations: 0 / 0.9564 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of Templates: time 0.003832/0.3591, allocations: 1.569 MB / 0.958 GB, free: 424 kB / 0.7325 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)