Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_11_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_11_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.001287/0.001287, allocations: 105 kB / 15.98 MB, free: 6.348 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.001446/0.001446, allocations: 197.9 kB / 16.91 MB, free: 6.188 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.43/1.43, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.852/2.852, allocations: 469.8 MB / 0.7427 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 64.28 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3538, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002517/0.3564, allocations: 1.309 MB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005145/0.3569, allocations: 235.3 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.393e-05/0.3569, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.3569, allocations: 3.938 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.469e-05/0.357, allocations: 3.984 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.3573, allocations: 31.89 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.639e-05/0.3573, allocations: 19.88 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.3574, allocations: 7.984 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.021e-05/0.3574, allocations: 4 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.328e-05/0.3575, allocations: 15.98 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.3575, allocations: 0 / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.3576, allocations: 43.97 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.3576, allocations: 15.91 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.3577, allocations: 4 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.998e-05/0.3578, allocations: 23.97 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.3578, allocations: 4 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3578, allocations: 0 / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.3578, allocations: 0 / 1.066 GB, free: 13.34 MB / 0.8419 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.0004381/0.3582, allocations: 339.8 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3583, allocations: 15.97 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.3584, allocations: 8.922 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.3585, allocations: 160.4 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.3586, allocations: 8.359 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.3586, allocations: 4.312 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3588, allocations: 54.19 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3588, allocations: 192 / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3588, allocations: 3.938 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3588, allocations: 8 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.321e-05/0.3589, allocations: 15.98 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.3591, allocations: 157.7 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.3592, allocations: 42.62 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.3593, allocations: 20.98 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.3593, allocations: 0 / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.3593, allocations: 42.5 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.3593, allocations: 0 / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.002182/0.3615, allocations: 0.494 MB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.3616, allocations: 55.41 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.061e-05/0.3616, allocations: 89.86 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.3617, allocations: 25.7 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.3617, allocations: 80.14 kB / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.3617, allocations: 27.64 kB / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.3618, allocations: 21.72 kB / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.3619, allocations: 314.8 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.691e-05/0.362, allocations: 23.98 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.374e-05/0.3621, allocations: 23.98 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.3622, allocations: 60.98 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3622, allocations: 0 / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001557/0.3623, allocations: 101.5 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3624, allocations: 7.938 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3624, allocations: 0 / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3624, allocations: 0 / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.3626, allocations: 15.98 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3626, allocations: 0 / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.819e-05/0.3626, allocations: 8 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.3627, allocations: 4 kB / 1.068 GB, free: 10.87 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 9.131e-05/0.3628, allocations: 112 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.3628, allocations: 3.938 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.3628, allocations: 15.97 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3628, allocations: 7.938 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3629, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3629, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.363, allocations: 175.5 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.363, allocations: 4 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.3632, allocations: 16.42 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3632, allocations: 3.938 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.3632, allocations: 8 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.3632, allocations: 4 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3632, allocations: 0 / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.3635, allocations: 137.1 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.3635, allocations: 84.95 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.3636, allocations: 4.094 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3637, allocations: 11.98 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.3637, allocations: 3.938 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.3637, allocations: 8 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.405e-05/0.3638, allocations: 75.28 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3638, allocations: 0 / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001905/0.364, allocations: 8 kB / 1.069 GB, free: 10.11 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.0001476/0.3641, allocations: 115.2 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001636/0.3643, allocations: 64 kB / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3643, allocations: 192 / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.827e-05/0.3644, allocations: 35.98 kB / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.3646, allocations: 9.344 kB / 1.069 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005743/0.3652, allocations: 204.6 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.3655, allocations: 0.6883 MB / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.3656, allocations: 11.44 kB / 1.07 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3656, allocations: 0 / 1.07 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of Templates: time 0.002449/0.3681, allocations: 0.8973 MB / 1.071 GB, free: 8.027 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)