Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001026/0.001027, allocations: 98.56 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.001348/0.001348, allocations: 181.5 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.425/1.425, allocations: 223.3 MB / 241 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.845/2.845, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003599, allocations: 15.59 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3506, allocations: 159.6 MB / 1.059 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.001411/0.352, allocations: 0.9783 MB / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006489/0.3527, allocations: 323.1 kB / 1.061 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.096e-05/0.3527, allocations: 0 / 1.061 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.3527, allocations: 0 / 1.061 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.558e-05/0.3528, allocations: 4 kB / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.3531, allocations: 47.81 kB / 1.061 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.773e-05/0.3531, allocations: 19.86 kB / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.3532, allocations: 4 kB / 1.061 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.253e-05/0.3532, allocations: 4 kB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.22e-05/0.3533, allocations: 11.98 kB / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.3533, allocations: 4 kB / 1.061 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.3535, allocations: 67.91 kB / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.3535, allocations: 0 / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.3535, allocations: 37.64 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.48e-05/0.3536, allocations: 35.94 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3536, allocations: 0 / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3537, allocations: 0 / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.3537, allocations: 0 / 1.061 GB, free: 3.398 MB / 0.8106 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.0003983/0.3541, allocations: 335.8 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3541, allocations: 11.97 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.3543, allocations: 4.938 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.65e-05/0.3544, allocations: 168.3 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.3544, allocations: 8.312 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.3544, allocations: 384 / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.3545, allocations: 46.23 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.3546, allocations: 192 / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.3546, allocations: 7.938 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.3546, allocations: 0 / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.823e-05/0.3547, allocations: 15.98 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.3548, allocations: 157.7 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.355, allocations: 54.48 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.808e-05/0.3551, allocations: 20.94 kB / 1.062 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.3551, allocations: 0 / 1.062 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.3551, allocations: 30.56 kB / 1.062 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.3551, allocations: 8 kB / 1.062 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.001292/0.3564, allocations: 382.2 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.3565, allocations: 55.41 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.852e-05/0.3565, allocations: 93.84 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.3566, allocations: 29.7 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.648e-05/0.3566, allocations: 80.14 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.3566, allocations: 19.66 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.3567, allocations: 13.72 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3568, allocations: 318.8 kB / 1.063 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.606e-05/0.3568, allocations: 19.94 kB / 1.063 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.443e-05/0.3569, allocations: 23.97 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.054e-05/0.357, allocations: 48.78 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.357, allocations: 0 / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001344/0.3571, allocations: 77.67 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3571, allocations: 7.938 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3572, allocations: 0 / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.3572, allocations: 0 / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.196e-05/0.3573, allocations: 12 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.3573, allocations: 4 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.3573, allocations: 4 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.3574, allocations: 3.984 kB / 1.063 GB, free: 1.105 MB / 0.8106 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 8.259e-05/0.3574, allocations: 113.8 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.3575, allocations: 3.938 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.3577, allocations: 97.62 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3577, allocations: 0 / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3577, allocations: 0 / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3577, allocations: 0 / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.3579, allocations: 165.7 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3579, allocations: 0 / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-05/0.358, allocations: 15.98 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.358, allocations: 11.81 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.358, allocations: 0 / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.358, allocations: 4 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.358, allocations: 64 / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.3582, allocations: 125.3 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.3583, allocations: 77.11 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.3583, allocations: 11.97 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.984e-05/0.3584, allocations: 7.984 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.3584, allocations: 3.984 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.3584, allocations: 8.062 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.707e-05/0.3584, allocations: 75.28 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3584, allocations: 0 / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001886/0.3586, allocations: 12 kB / 1.063 GB, free: 292 kB / 0.8106 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 0.0001281/0.3588, allocations: 103.2 kB / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.3589, allocations: 47.95 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3589, allocations: 0 / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.747e-05/0.359, allocations: 23.94 kB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.3592, allocations: 14.53 kB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.3595, allocations: 160.4 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.3598, allocations: 0.6825 MB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.3598, allocations: 15.38 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3598, allocations: 0 / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of Templates: time 0.002027/0.3619, allocations: 0.7248 MB / 1.065 GB, free: 14.46 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1)