Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.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_amb,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008295/0.0008294, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009807/0.0009807, allocations: 180.6 kB / 16.92 MB, free: 6.918 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.397/1.397, allocations: 223.3 MB / 241 MB, free: 5.344 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.435/2.435, allocations: 390.9 MB / 0.667 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003787, allocations: 12 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7749/0.7753, allocations: 142.4 MB / 0.9557 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.001318/0.7766, allocations: 0.9737 MB / 0.9567 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009255/0.7776, allocations: 0.6243 MB / 0.9573 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.398e-05/0.7776, allocations: 1.094 kB / 0.9573 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.7776, allocations: 0 / 0.9573 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.818e-05/0.7777, allocations: 0 / 0.9573 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.7781, allocations: 113.5 kB / 0.9574 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.972e-05/0.7781, allocations: 23.61 kB / 0.9574 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.7782, allocations: 5.109 kB / 0.9574 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.291e-05/0.7782, allocations: 4.281 kB / 0.9574 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.386e-05/0.7783, allocations: 6.391 kB / 0.9574 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.7783, allocations: 1.25 kB / 0.9574 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000301/0.7786, allocations: 220.8 kB / 0.9576 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.7786, allocations: 1.156 kB / 0.9576 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.7787, allocations: 37.02 kB / 0.9577 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.7789, allocations: 81.72 kB / 0.9577 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.7789, allocations: 4.969 kB / 0.9578 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.434e-06/0.7789, allocations: 4 kB / 0.9578 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.7789, allocations: 0 / 0.9578 GB, free: 6.371 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.0003353/0.7792, allocations: 340.2 kB / 0.9581 GB, free: 6 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.7793, allocations: 9.25 kB / 0.9581 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.7795, allocations: 14.11 kB / 0.9581 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.911e-05/0.7796, allocations: 164.3 kB / 0.9583 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.7796, allocations: 1.281 kB / 0.9583 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.7796, allocations: 10.75 kB / 0.9583 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.7797, allocations: 40.59 kB / 0.9583 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.7797, allocations: 4.172 kB / 0.9583 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.7798, allocations: 4.938 kB / 0.9583 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.7798, allocations: 0 / 0.9583 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.169e-05/0.7798, allocations: 6.188 kB / 0.9583 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.78, allocations: 153.7 kB / 0.9585 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.7801, allocations: 55.89 kB / 0.9585 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.7802, allocations: 19.25 kB / 0.9585 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.7802, allocations: 1.094 kB / 0.9585 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.7802, allocations: 35.77 kB / 0.9586 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.7802, allocations: 0 / 0.9586 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006853/0.7809, allocations: 306.2 kB / 0.9589 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.781, allocations: 56.5 kB / 0.9589 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.562e-05/0.781, allocations: 95.08 kB / 0.959 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.781, allocations: 25.7 kB / 0.959 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.648e-05/0.781, allocations: 80.14 kB / 0.9591 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.7811, allocations: 19.06 kB / 0.9591 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.7811, allocations: 10.94 kB / 0.9591 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.332e-05/0.7812, allocations: 320.1 kB / 0.9595 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.66e-05/0.7812, allocations: 9.875 kB / 0.9595 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.252e-05/0.7812, allocations: 11.25 kB / 0.9595 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.234e-05/0.7813, allocations: 43.33 kB / 0.9595 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.7813, allocations: 0 / 0.9595 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.932e-05/0.7814, allocations: 67.33 kB / 0.9596 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.7814, allocations: 11.38 kB / 0.9596 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.7814, allocations: 64 / 0.9596 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.7815, allocations: 6.125 kB / 0.9596 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.402e-05/0.7815, allocations: 13.31 kB / 0.9596 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.7815, allocations: 3.938 kB / 0.9596 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.7816, allocations: 0 / 0.9596 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.7816, allocations: 5.891 kB / 0.9596 GB, free: 4.398 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.499e-05/0.7816, allocations: 111.7 kB / 0.9597 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.7817, allocations: 9.906 kB / 0.9597 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.7818, allocations: 63.56 kB / 0.9598 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.7818, allocations: 5.078 kB / 0.9598 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.7818, allocations: 0 / 0.9598 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7818, allocations: 0 / 0.9598 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.056e-05/0.7819, allocations: 156.5 kB / 0.9599 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7819, allocations: 0 / 0.9599 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.691e-05/0.782, allocations: 13.03 kB / 0.96 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.782, allocations: 7.938 kB / 0.96 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.782, allocations: 5.531 kB / 0.96 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.782, allocations: 3.938 kB / 0.96 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.782, allocations: 1.594 kB / 0.96 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.7822, allocations: 97.42 kB / 0.9601 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.7822, allocations: 81.02 kB / 0.9601 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.7822, allocations: 5.641 kB / 0.9602 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.525e-05/0.7823, allocations: 7.938 kB / 0.9602 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.7823, allocations: 5.016 kB / 0.9602 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.7823, allocations: 6.344 kB / 0.9602 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.511e-05/0.7823, allocations: 75.28 kB / 0.9602 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7823, allocations: 0 / 0.9602 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001798/0.7825, allocations: 5.781 kB / 0.9602 GB, free: 3.727 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.0001118/0.7826, allocations: 105.4 kB / 0.9603 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.7828, allocations: 31.92 kB / 0.9604 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7828, allocations: 7.938 kB / 0.9604 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.727e-05/0.7828, allocations: 24 kB / 0.9604 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.783, allocations: 17.69 kB / 0.9604 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.7833, allocations: 162.6 kB / 0.9606 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.7834, allocations: 0.6801 MB / 0.9612 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.7834, allocations: 9.219 kB / 0.9613 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.7834, allocations: 0 / 0.9613 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of Templates: time 0.001987/0.7854, allocations: 0.5835 MB / 0.9618 GB, free: 2.43 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe 2>&1)