Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009275/0.0009276, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009279/0.0009279, allocations: 195.1 kB / 16.14 MB, free: 6.652 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.161/1.161, allocations: 205.1 MB / 222 MB, free: 4.75 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.328/1.328, allocations: 251.6 MB / 0.5088 GB, free: 3.273 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.001172/0.001172, allocations: 67.91 kB / 0.6216 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3507, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001698/0.3524, allocations: 0.6831 MB / 0.7245 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006499/0.3531, allocations: 373.6 kB / 0.7248 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.519e-05/0.3531, allocations: 0 / 0.7248 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.3532, allocations: 0 / 0.7248 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.511e-05/0.3532, allocations: 4 kB / 0.7248 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.3536, allocations: 82.47 kB / 0.7249 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.778e-05/0.3536, allocations: 27.91 kB / 0.725 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.3537, allocations: 4 kB / 0.725 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.278e-05/0.3537, allocations: 15.92 kB / 0.725 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.3537, allocations: 11.92 kB / 0.725 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.3538, allocations: 4 kB / 0.725 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.3541, allocations: 267.7 kB / 0.7252 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.3541, allocations: 15.98 kB / 0.7253 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.3541, allocations: 11.92 kB / 0.7253 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.3543, allocations: 103.8 kB / 0.7254 GB, free: 11.56 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3543, allocations: 3.938 kB / 0.7254 GB, free: 11.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.92e-07/0.3543, allocations: 4 kB / 0.7254 GB, free: 11.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.3543, allocations: 0 / 0.7254 GB, free: 11.55 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003974/0.3547, allocations: 353.5 kB / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3548, allocations: 8.031 kB / 0.7257 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.993e-05/0.3549, allocations: 12.84 kB / 0.7257 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.355, allocations: 176.3 kB / 0.7259 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.355, allocations: 4.375 kB / 0.7259 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.355, allocations: 4.375 kB / 0.7259 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.3551, allocations: 58.11 kB / 0.726 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3551, allocations: 4.188 kB / 0.726 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3552, allocations: 3.938 kB / 0.726 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3552, allocations: 0 / 0.726 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.773e-05/0.3552, allocations: 19.98 kB / 0.726 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.3554, allocations: 161.7 kB / 0.7261 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.503e-05/0.3555, allocations: 58.56 kB / 0.7262 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.884e-05/0.3555, allocations: 24.84 kB / 0.7262 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006465/0.3562, allocations: 465.4 kB / 0.7267 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.3562, allocations: 34.55 kB / 0.7267 GB, free: 9.938 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.3562, allocations: 0 / 0.7267 GB, free: 9.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001288/0.3575, allocations: 0.5994 MB / 0.7273 GB, free: 9.246 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.3576, allocations: 55.39 kB / 0.7273 GB, free: 9.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.367e-05/0.3576, allocations: 93.86 kB / 0.7274 GB, free: 9.078 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.3577, allocations: 33.7 kB / 0.7275 GB, free: 9.039 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.3577, allocations: 80.14 kB / 0.7275 GB, free: 8.957 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.3578, allocations: 39.39 kB / 0.7276 GB, free: 8.918 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.3578, allocations: 29.7 kB / 0.7276 GB, free: 8.883 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3579, allocations: 318.8 kB / 0.7279 GB, free: 8.562 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.065e-05/0.358, allocations: 23.98 kB / 0.7279 GB, free: 8.539 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.711e-05/0.358, allocations: 16 kB / 0.7279 GB, free: 8.523 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.797e-05/0.3581, allocations: 60.78 kB / 0.728 GB, free: 8.461 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3581, allocations: 0 / 0.728 GB, free: 8.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001536/0.3583, allocations: 104.8 kB / 0.7281 GB, free: 8.355 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3583, allocations: 8 kB / 0.7281 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3583, allocations: 0 / 0.7281 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.3583, allocations: 0 / 0.7281 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.3584, allocations: 19.98 kB / 0.7281 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3584, allocations: 4 kB / 0.7281 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.3585, allocations: 4 kB / 0.7281 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3585, allocations: 8 kB / 0.7281 GB, free: 8.312 MB / 0.545 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 (13): * Single equations (assignments): 13 * 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.721e-05/0.3586, allocations: 113.8 kB / 0.7283 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.3586, allocations: 12.11 kB / 0.7283 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.3588, allocations: 101.6 kB / 0.7284 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3588, allocations: 4.094 kB / 0.7284 GB, free: 8.066 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3588, allocations: 7.938 kB / 0.7284 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3588, allocations: 0 / 0.7284 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003482/0.3592, allocations: 366.4 kB / 0.7287 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3592, allocations: 0 / 0.7287 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.3593, allocations: 19.98 kB / 0.7287 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3593, allocations: 0 / 0.7287 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.3593, allocations: 4 kB / 0.7287 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3593, allocations: 0 / 0.7287 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3593, allocations: 0 / 0.7287 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.3596, allocations: 227.3 kB / 0.729 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.3596, allocations: 89 kB / 0.729 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.3597, allocations: 4.031 kB / 0.7291 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.3597, allocations: 0 / 0.7291 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.3598, allocations: 15.92 kB / 0.7291 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.3598, allocations: 4 kB / 0.7291 GB, free: 7.254 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.817e-05/0.3598, allocations: 75.28 kB / 0.7291 GB, free: 7.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3598, allocations: 0 / 0.7291 GB, free: 7.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002596/0.3601, allocations: 44 kB / 0.7292 GB, free: 7.137 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002089/0.3603, allocations: 154.2 kB / 0.7293 GB, free: 6.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.3604, allocations: 59.86 kB / 0.7294 GB, free: 6.922 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3604, allocations: 4 kB / 0.7294 GB, free: 6.918 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.595e-05/0.3605, allocations: 35.92 kB / 0.7294 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.3607, allocations: 9.016 kB / 0.7294 GB, free: 6.875 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.361, allocations: 188.4 kB / 0.7296 GB, free: 6.668 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.3612, allocations: 0.6888 MB / 0.7303 GB, free: 5.953 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.573e-05/0.3613, allocations: 11.98 kB / 0.7303 GB, free: 5.941 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.3613, allocations: 11.44 kB / 0.7303 GB, free: 5.93 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.3613, allocations: 3.938 kB / 0.7303 GB, free: 5.926 MB / 0.545 GB Notification: Performance of Templates: time 0.003202/0.3645, allocations: 1.377 MB / 0.7317 GB, free: 4.578 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)