Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009845/0.0009846, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.000925/0.000925, allocations: 190.4 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.302/1.302, allocations: 251.6 MB / 0.5089 GB, free: 3.281 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.89 kB / 0.6218 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3615, allocations: 104.7 MB / 0.724 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00162/0.3631, allocations: 0.6559 MB / 0.7246 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005537/0.3637, allocations: 353.6 kB / 0.725 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.553e-05/0.3637, allocations: 0 / 0.725 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.12e-05/0.3637, allocations: 0 / 0.725 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 1.747e-05/0.3638, allocations: 4 kB / 0.725 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.3641, allocations: 99.7 kB / 0.7251 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.614e-05/0.3642, allocations: 4 kB / 0.7251 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.828e-05/0.3642, allocations: 0 / 0.7251 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.657e-05/0.3642, allocations: 7.984 kB / 0.7251 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.567e-05/0.3643, allocations: 7.938 kB / 0.7251 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.3643, allocations: 7.938 kB / 0.7251 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.3646, allocations: 267.7 kB / 0.7254 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.3646, allocations: 11.98 kB / 0.7254 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.899e-05/0.3646, allocations: 7.984 kB / 0.7254 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.3648, allocations: 87.8 kB / 0.7255 GB, free: 11.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3648, allocations: 0 / 0.7255 GB, free: 11.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3648, allocations: 0 / 0.7255 GB, free: 11.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3648, allocations: 0 / 0.7255 GB, free: 11.73 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003319/0.3652, allocations: 343.5 kB / 0.7258 GB, free: 11.35 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3652, allocations: 12.03 kB / 0.7258 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.3652, allocations: 0.9375 kB / 0.7258 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.3654, allocations: 166.5 kB / 0.726 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-06/0.3654, allocations: 4.375 kB / 0.726 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.3654, allocations: 4.375 kB / 0.726 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.551e-05/0.3655, allocations: 34.27 kB / 0.726 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.3655, allocations: 192 / 0.726 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3655, allocations: 3.938 kB / 0.726 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3655, allocations: 0 / 0.726 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.282e-05/0.3655, allocations: 11.92 kB / 0.726 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.3657, allocations: 153.7 kB / 0.7262 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.323e-05/0.3657, allocations: 26.56 kB / 0.7262 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.3658, allocations: 4.859 kB / 0.7262 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006282/0.3664, allocations: 457.5 kB / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.3664, allocations: 34.56 kB / 0.7267 GB, free: 10.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3664, allocations: 0 / 0.7267 GB, free: 10.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004615/0.3669, allocations: 254.2 kB / 0.7269 GB, free: 9.949 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.3669, allocations: 55.41 kB / 0.727 GB, free: 9.883 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.467e-05/0.367, allocations: 102.1 kB / 0.7271 GB, free: 9.773 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.367, allocations: 29.64 kB / 0.7271 GB, free: 9.738 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.367, allocations: 88.08 kB / 0.7272 GB, free: 9.648 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.3671, allocations: 7.844 kB / 0.7272 GB, free: 9.641 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.3671, allocations: 17.72 kB / 0.7272 GB, free: 9.617 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.3672, allocations: 314.8 kB / 0.7275 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.3672, allocations: 12 kB / 0.7275 GB, free: 9.289 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/0.3673, allocations: 17.72 kB / 0.7275 GB, free: 9.266 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.036e-05/0.3673, allocations: 33.83 kB / 0.7276 GB, free: 9.227 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.3673, allocations: 0 / 0.7276 GB, free: 9.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.631e-05/0.3674, allocations: 57.55 kB / 0.7276 GB, free: 9.164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.3674, allocations: 7.938 kB / 0.7276 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.3674, allocations: 0 / 0.7276 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.3674, allocations: 0 / 0.7276 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.264e-05/0.3675, allocations: 11.98 kB / 0.7276 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3675, allocations: 4.062 kB / 0.7276 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.608e-05/0.3675, allocations: 0 / 0.7276 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3675, allocations: 4 kB / 0.7276 GB, free: 9.137 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.383e-05/0.3676, allocations: 105.8 kB / 0.7277 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.3676, allocations: 12.02 kB / 0.7278 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.3677, allocations: 57.17 kB / 0.7278 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3678, allocations: 3.984 kB / 0.7278 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.3678, allocations: 4 kB / 0.7278 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.3678, allocations: 0 / 0.7278 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.683e-05/0.3679, allocations: 153.7 kB / 0.728 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.3679, allocations: 0 / 0.728 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.3679, allocations: 4 kB / 0.728 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3679, allocations: 3.938 kB / 0.728 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.3679, allocations: 0 / 0.728 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3679, allocations: 7.938 kB / 0.728 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3679, allocations: 0 / 0.728 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.3681, allocations: 81.06 kB / 0.7281 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.3681, allocations: 81.09 kB / 0.7281 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.3681, allocations: 3.938 kB / 0.7281 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.81e-05/0.3682, allocations: 4.031 kB / 0.7281 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.3682, allocations: 0 / 0.7281 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.3682, allocations: 0 / 0.7281 GB, free: 8.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.734e-05/0.3682, allocations: 83.22 kB / 0.7282 GB, free: 8.438 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.3682, allocations: 0 / 0.7282 GB, free: 8.438 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001883/0.3684, allocations: 28.14 kB / 0.7282 GB, free: 8.41 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001591/0.3686, allocations: 131.2 kB / 0.7284 GB, free: 8.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.562e-05/0.3687, allocations: 15.94 kB / 0.7284 GB, free: 8.254 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3687, allocations: 4 kB / 0.7284 GB, free: 8.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.364e-05/0.3687, allocations: 4 kB / 0.7284 GB, free: 8.246 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.3688, allocations: 3.984 kB / 0.7284 GB, free: 8.242 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001821/0.369, allocations: 121.5 kB / 0.7285 GB, free: 8.098 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.3692, allocations: 0.6768 MB / 0.7292 GB, free: 7.395 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.521e-05/0.3692, allocations: 0 / 0.7292 GB, free: 7.395 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.3693, allocations: 15.42 kB / 0.7292 GB, free: 7.379 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.3693, allocations: 0 / 0.7292 GB, free: 7.379 MB / 0.545 GB Notification: Performance of Templates: time 0.002385/0.3716, allocations: 0.878 MB / 0.73 GB, free: 6.535 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)