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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.006968/0.006968, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001616/0.001616, allocations: 191.7 kB / 16.79 MB, free: 5.809 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.41/1.41, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.541/2.541, allocations: 390.2 MB / 0.6649 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6403/0.6417, allocations: 140.3 MB / 0.9496 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002102/0.6439, allocations: 1.352 MB / 0.9509 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009601/0.6448, allocations: 0.6417 MB / 0.9515 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.61e-05/0.6449, allocations: 5.375 kB / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.6449, allocations: 3.984 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.176e-05/0.645, allocations: 3.938 kB / 0.9516 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.6453, allocations: 91.72 kB / 0.9516 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.496e-05/0.6454, allocations: 31.73 kB / 0.9517 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.6454, allocations: 1.125 kB / 0.9517 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.523e-05/0.6455, allocations: 10.64 kB / 0.9517 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.6455, allocations: 12.17 kB / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.6455, allocations: 8.938 kB / 0.9517 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002651/0.6458, allocations: 141.6 kB / 0.9518 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.6458, allocations: 9.328 kB / 0.9518 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.6459, allocations: 12.11 kB / 0.9519 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.646, allocations: 68.8 kB / 0.9519 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.646, allocations: 1.062 kB / 0.9519 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.646, allocations: 0 / 0.9519 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.6461, allocations: 0 / 0.9519 GB, free: 7.422 MB / 0.7169 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.0004251/0.6465, allocations: 361.7 kB / 0.9523 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.6465, allocations: 10.38 kB / 0.9523 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004469/0.647, allocations: 28.19 kB / 0.9523 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.382e-05/0.6471, allocations: 169.7 kB / 0.9525 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.6471, allocations: 1.531 kB / 0.9525 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.6471, allocations: 2.781 kB / 0.9525 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.6473, allocations: 60.84 kB / 0.9525 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.6473, allocations: 1.5 kB / 0.9525 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.6473, allocations: 3.938 kB / 0.9525 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.6473, allocations: 1.281 kB / 0.9525 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.6475, allocations: 29.66 kB / 0.9526 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.6476, allocations: 160 kB / 0.9527 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.648, allocations: 70.89 kB / 0.9528 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.707e-05/0.6481, allocations: 29.02 kB / 0.9528 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.6481, allocations: 4.875 kB / 0.9528 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.6481, allocations: 32.19 kB / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.6481, allocations: 4 kB / 0.9528 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.003675/0.6518, allocations: 0.5742 MB / 0.9534 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.6518, allocations: 52.78 kB / 0.9535 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.584e-05/0.6519, allocations: 99.81 kB / 0.9536 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.6519, allocations: 26.83 kB / 0.9536 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.162e-05/0.652, allocations: 84.08 kB / 0.9537 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.652, allocations: 22.28 kB / 0.9537 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.6521, allocations: 27.81 kB / 0.9537 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.289e-05/0.6521, allocations: 315.9 kB / 0.954 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.6523, allocations: 42.59 kB / 0.9541 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.6524, allocations: 35.12 kB / 0.9541 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.6527, allocations: 82.38 kB / 0.9542 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.6527, allocations: 1.25 kB / 0.9542 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003449/0.6531, allocations: 128.6 kB / 0.9543 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.6531, allocations: 9.5 kB / 0.9543 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6531, allocations: 336 / 0.9543 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.6531, allocations: 1.094 kB / 0.9543 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.6534, allocations: 21.72 kB / 0.9543 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.6534, allocations: 1.672 kB / 0.9543 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.6535, allocations: 15.98 kB / 0.9543 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.6536, allocations: 2.719 kB / 0.9543 GB, free: 5.145 MB / 0.7169 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 6.787e-05/0.6536, allocations: 115.1 kB / 0.9544 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.6537, allocations: 10.27 kB / 0.9545 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.669e-05/0.6537, allocations: 13.25 kB / 0.9545 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.6538, allocations: 1.031 kB / 0.9545 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6538, allocations: 0 / 0.9545 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.6538, allocations: 1.625 kB / 0.9545 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.6539, allocations: 185.5 kB / 0.9546 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6539, allocations: 1.25 kB / 0.9547 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.6541, allocations: 22.44 kB / 0.9547 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6542, allocations: 3.938 kB / 0.9547 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.6542, allocations: 9.422 kB / 0.9547 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.6542, allocations: 3.984 kB / 0.9547 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6542, allocations: 1.312 kB / 0.9547 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.6547, allocations: 189.8 kB / 0.9549 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.6548, allocations: 86.14 kB / 0.955 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.6548, allocations: 4.922 kB / 0.955 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.655, allocations: 14.97 kB / 0.955 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.655, allocations: 5.609 kB / 0.955 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.655, allocations: 7.281 kB / 0.955 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.091e-05/0.6551, allocations: 84.83 kB / 0.9551 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6551, allocations: 0 / 0.9551 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002634/0.6553, allocations: 32.06 kB / 0.9551 GB, free: 4.414 MB / 0.7169 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.0002082/0.6556, allocations: 122.6 kB / 0.9552 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003427/0.6559, allocations: 88.92 kB / 0.9553 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6559, allocations: 0 / 0.9553 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.6561, allocations: 48.36 kB / 0.9553 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.6563, allocations: 16.41 kB / 0.9554 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006576/0.657, allocations: 202.1 kB / 0.9556 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.6571, allocations: 0.676 MB / 0.9562 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.944e-05/0.6572, allocations: 21.38 kB / 0.9562 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.6572, allocations: 0 / 0.9562 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of Templates: time 0.003266/0.6605, allocations: 1.562 MB / 0.9578 GB, free: 2.531 MB / 0.7169 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)