Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_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 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.InverseDewPointTemperatureDerivativeCheck_amb,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008182/0.0008183, allocations: 98.48 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.001079/0.001079, allocations: 190.7 kB / 16.93 MB, free: 6.75 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.447/1.447, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.786/2.786, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.0003639, allocations: 9.281 kB / 0.9034 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3507, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb): time 0.001311/0.3521, allocations: 0.98 MB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009469/0.353, allocations: 0.6075 MB / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.11e-05/0.353, allocations: 0 / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.3531, allocations: 4 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.108e-05/0.3531, allocations: 0 / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.3535, allocations: 115.6 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.187e-05/0.3535, allocations: 19.92 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.3536, allocations: 0 / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.347e-05/0.3536, allocations: 4 kB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.083e-05/0.3537, allocations: 19.92 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.3537, allocations: 3.938 kB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/0.354, allocations: 211.6 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.354, allocations: 0 / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.3541, allocations: 33.7 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.3543, allocations: 84.09 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3543, allocations: 0 / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3543, allocations: 0 / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.3543, allocations: 0 / 1.061 GB, free: 2.871 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.000389/0.3547, allocations: 355.4 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3547, allocations: 11.97 kB / 1.062 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.3549, allocations: 8.922 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.324e-05/0.355, allocations: 160.4 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.355, allocations: 12.36 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.355, allocations: 384 / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.3552, allocations: 42.25 kB / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.3552, allocations: 192 / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3552, allocations: 7.938 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3552, allocations: 0 / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.095e-05/0.3552, allocations: 7.938 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.3554, allocations: 161.7 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.3556, allocations: 42.61 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.3556, allocations: 24.92 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.3557, allocations: 4 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.3557, allocations: 30.56 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3557, allocations: 0 / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0006373/0.3563, allocations: 306.2 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.3564, allocations: 59.34 kB / 1.063 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.511e-05/0.3564, allocations: 89.86 kB / 1.063 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.3565, allocations: 25.7 kB / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/0.3565, allocations: 84.14 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.3565, allocations: 27.64 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.3566, allocations: 9.719 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3567, allocations: 314.8 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.389e-05/0.3567, allocations: 12 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.026e-05/0.3567, allocations: 7.984 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.6e-05/0.3568, allocations: 37 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3568, allocations: 0 / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001124/0.3569, allocations: 65.69 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.357, allocations: 7.938 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.357, allocations: 3.938 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.357, allocations: 0 / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/0.3571, allocations: 15.92 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3571, allocations: 7.938 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/0.3571, allocations: 0 / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.3571, allocations: 4 kB / 1.063 GB, free: 0.6914 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 7.916e-05/0.3572, allocations: 109.8 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.3572, allocations: 7.938 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.3574, allocations: 81.56 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3574, allocations: 0 / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3574, allocations: 0 / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3574, allocations: 0 / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.3575, allocations: 157.7 kB / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3575, allocations: 0 / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.466e-05/0.3576, allocations: 15.98 kB / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.3576, allocations: 3.938 kB / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.3576, allocations: 4.062 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3576, allocations: 0 / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3576, allocations: 4 kB / 1.064 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.3578, allocations: 109 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.3578, allocations: 89.06 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.3579, allocations: 3.938 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.396e-05/0.3579, allocations: 0 / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.3579, allocations: 4 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.3579, allocations: 0 / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.792e-05/0.358, allocations: 79.34 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.358, allocations: 0 / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001825/0.3582, allocations: 12 kB / 1.064 GB, free: 15.92 MB / 0.8262 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.0001235/0.3583, allocations: 103.2 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.704e-05/0.3584, allocations: 32 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3584, allocations: 0 / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.245e-05/0.3585, allocations: 23.92 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.3586, allocations: 0 / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.3589, allocations: 186.2 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.3592, allocations: 0.6809 MB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.3592, allocations: 7.438 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3592, allocations: 0 / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.001898/0.3611, allocations: 0.5889 MB / 1.065 GB, free: 14.24 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe 2>&1)