Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.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.DewPointTemperatureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007802/0.007802, 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.001788/0.001788, allocations: 195.8 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.408/1.408, allocations: 222.9 MB / 240.5 MB, free: 4.57 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.48/2.48, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.89 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7695/0.771, allocations: 140.4 MB / 0.9496 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002451/0.7735, allocations: 1.31 MB / 0.9509 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006149/0.7741, allocations: 318.1 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.307e-05/0.7741, allocations: 1.375 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.7742, allocations: 4 kB / 0.9512 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.566e-05/0.7742, allocations: 3.938 kB / 0.9512 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.7745, allocations: 43 kB / 0.9512 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.702e-05/0.7746, allocations: 20.12 kB / 0.9513 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.278e-05/0.7746, allocations: 1.375 kB / 0.9513 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.179e-05/0.7746, allocations: 8.109 kB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.493e-05/0.7747, allocations: 2.75 kB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.7747, allocations: 5.359 kB / 0.9513 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.7749, allocations: 74.3 kB / 0.9513 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.7749, allocations: 5.375 kB / 0.9513 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.7749, allocations: 10.67 kB / 0.9514 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.674e-05/0.775, allocations: 29.7 kB / 0.9514 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.775, allocations: 0 / 0.9514 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.92e-07/0.775, allocations: 1.375 kB / 0.9514 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.775, allocations: 3.938 kB / 0.9514 GB, free: 7.711 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.0003216/0.7754, allocations: 331.1 kB / 0.9517 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.7754, allocations: 9.625 kB / 0.9517 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.7756, allocations: 16.95 kB / 0.9517 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.384e-05/0.7756, allocations: 168.3 kB / 0.9519 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.7756, allocations: 1.75 kB / 0.9519 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.7757, allocations: 1.75 kB / 0.9519 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.7758, allocations: 46.48 kB / 0.9519 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.7758, allocations: 192 / 0.9519 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.7758, allocations: 7.938 kB / 0.9519 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.7758, allocations: 1.375 kB / 0.9519 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.405e-05/0.7759, allocations: 6.875 kB / 0.952 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.776, allocations: 167.1 kB / 0.9521 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.7762, allocations: 52.41 kB / 0.9522 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/0.7762, allocations: 21.09 kB / 0.9522 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.7763, allocations: 0 / 0.9522 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.7763, allocations: 35.94 kB / 0.9522 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.7763, allocations: 0 / 0.9522 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.001376/0.7777, allocations: 400.8 kB / 0.9526 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.7777, allocations: 52.78 kB / 0.9527 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.121e-05/0.7777, allocations: 89.86 kB / 0.9527 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.7778, allocations: 30.98 kB / 0.9528 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.465e-05/0.7778, allocations: 80.14 kB / 0.9528 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.7778, allocations: 19.7 kB / 0.9529 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.7779, allocations: 23.31 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.708e-05/0.7779, allocations: 318.8 kB / 0.9532 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.714e-05/0.778, allocations: 16.78 kB / 0.9532 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.292e-05/0.778, allocations: 21.67 kB / 0.9532 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.363e-05/0.7781, allocations: 44.66 kB / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.7781, allocations: 0 / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001192/0.7782, allocations: 81.52 kB / 0.9533 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.7782, allocations: 9.812 kB / 0.9534 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.7783, allocations: 5.688 kB / 0.9534 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.7783, allocations: 0 / 0.9534 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.7784, allocations: 13.66 kB / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.7784, allocations: 0 / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.7784, allocations: 1.656 kB / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.7785, allocations: 5.328 kB / 0.9534 GB, free: 5.676 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 5.295e-05/0.7785, allocations: 111.5 kB / 0.9535 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.7785, allocations: 6.5 kB / 0.9535 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.7788, allocations: 98.8 kB / 0.9536 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.7788, allocations: 1.188 kB / 0.9536 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.7788, allocations: 3.938 kB / 0.9536 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.7788, allocations: 1.781 kB / 0.9536 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.361e-05/0.7789, allocations: 168.4 kB / 0.9538 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.7789, allocations: 3.984 kB / 0.9538 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.946e-05/0.779, allocations: 22.53 kB / 0.9538 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.779, allocations: 5.094 kB / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.779, allocations: 8 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.779, allocations: 1.219 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.779, allocations: 0 / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.7792, allocations: 119.5 kB / 0.9539 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.7792, allocations: 82.3 kB / 0.954 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.7793, allocations: 5.156 kB / 0.954 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.865e-05/0.7794, allocations: 11.86 kB / 0.954 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.7794, allocations: 2.375 kB / 0.954 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.7794, allocations: 6.062 kB / 0.954 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.759e-05/0.7794, allocations: 79.22 kB / 0.9541 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7794, allocations: 0 / 0.9541 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001871/0.7796, allocations: 7.438 kB / 0.9541 GB, free: 4.945 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 (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 Backend phase and start with SimCode phase: time 9.889e-05/0.7797, allocations: 100.8 kB / 0.9542 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.7799, allocations: 50 kB / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7799, allocations: 0 / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.089e-05/0.7799, allocations: 27.81 kB / 0.9543 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.7801, allocations: 6.828 kB / 0.9543 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.7805, allocations: 163.5 kB / 0.9544 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.7806, allocations: 0.6793 MB / 0.9551 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.7806, allocations: 10.62 kB / 0.9551 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of SimCode: time 4.71e-07/0.7806, allocations: 4.906 kB / 0.9551 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of Templates: time 0.001998/0.7826, allocations: 0.7272 MB / 0.9558 GB, free: 3.578 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1)