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.0009487/0.0009488, 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.0008958/0.0008958, allocations: 193.6 kB / 16.14 MB, free: 6.664 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.139/1.139, 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.317/1.317, allocations: 251.6 MB / 0.5088 GB, free: 3.422 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.001126/0.001126, allocations: 71.19 kB / 0.6216 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3692, allocations: 104.7 MB / 0.7238 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001615/0.3708, allocations: 0.6636 MB / 0.7245 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006072/0.3714, allocations: 369.7 kB / 0.7248 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.137e-05/0.3715, allocations: 0 / 0.7248 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.3715, allocations: 0 / 0.7248 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 1.869e-05/0.3715, allocations: 3.938 kB / 0.7248 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.3718, allocations: 75.84 kB / 0.7249 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.718e-05/0.3719, allocations: 12 kB / 0.7249 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.3719, allocations: 3.984 kB / 0.7249 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.533e-05/0.3719, allocations: 4 kB / 0.7249 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.014e-05/0.372, allocations: 3.984 kB / 0.7249 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.372, allocations: 3.938 kB / 0.7249 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.3723, allocations: 279.6 kB / 0.7252 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.3723, allocations: 0 / 0.7252 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.3724, allocations: 4 kB / 0.7252 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.3725, allocations: 91.78 kB / 0.7253 GB, free: 11.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.3725, allocations: 4 kB / 0.7253 GB, free: 11.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.72e-07/0.3725, allocations: 0 / 0.7253 GB, free: 11.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.3725, allocations: 0 / 0.7253 GB, free: 11.84 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.0003043/0.3728, allocations: 347.5 kB / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.3729, allocations: 8.031 kB / 0.7256 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.3729, allocations: 0.9375 kB / 0.7256 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.432e-05/0.373, allocations: 168.3 kB / 0.7258 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.373, allocations: 4.375 kB / 0.7258 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.3731, allocations: 8.312 kB / 0.7258 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.854e-05/0.3731, allocations: 34.25 kB / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.3732, allocations: 192 / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3732, allocations: 3.938 kB / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3732, allocations: 0 / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.3732, allocations: 4 kB / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.3733, allocations: 155.8 kB / 0.726 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.217e-05/0.3734, allocations: 26.55 kB / 0.726 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.3734, allocations: 12.92 kB / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006687/0.3741, allocations: 449.5 kB / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.3741, allocations: 42.55 kB / 0.7265 GB, free: 10.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3741, allocations: 0 / 0.7265 GB, free: 10.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004207/0.3746, allocations: 258.2 kB / 0.7267 GB, free: 10.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.3746, allocations: 51.41 kB / 0.7268 GB, free: 9.977 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.216e-05/0.3746, allocations: 94.08 kB / 0.7269 GB, free: 9.875 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.3747, allocations: 29.83 kB / 0.7269 GB, free: 9.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.43e-05/0.3747, allocations: 84.14 kB / 0.727 GB, free: 9.754 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.3747, allocations: 7.844 kB / 0.727 GB, free: 9.746 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.3748, allocations: 21.7 kB / 0.727 GB, free: 9.719 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.067e-05/0.3748, allocations: 318.8 kB / 0.7273 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.634e-05/0.3749, allocations: 4 kB / 0.7273 GB, free: 9.395 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.888e-05/0.3749, allocations: 25.7 kB / 0.7273 GB, free: 9.363 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.236e-05/0.3749, allocations: 29.66 kB / 0.7274 GB, free: 9.328 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3749, allocations: 0 / 0.7274 GB, free: 9.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.368e-05/0.375, allocations: 53.69 kB / 0.7274 GB, free: 9.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3751, allocations: 11.92 kB / 0.7274 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3751, allocations: 0 / 0.7274 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.3751, allocations: 7.984 kB / 0.7274 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.423e-05/0.3751, allocations: 4 kB / 0.7274 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3751, allocations: 0 / 0.7274 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.3752, allocations: 8.062 kB / 0.7275 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.3752, allocations: 0 / 0.7275 GB, free: 9.238 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 5.524e-05/0.3752, allocations: 110.7 kB / 0.7276 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.3753, allocations: 7.938 kB / 0.7276 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.3754, allocations: 57.11 kB / 0.7276 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3754, allocations: 0 / 0.7276 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.3754, allocations: 0 / 0.7276 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3754, allocations: 7.938 kB / 0.7276 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.825e-05/0.3755, allocations: 153.7 kB / 0.7278 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3755, allocations: 0 / 0.7278 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.3756, allocations: 4 kB / 0.7278 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3756, allocations: 7.938 kB / 0.7278 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.3756, allocations: 0 / 0.7278 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3756, allocations: 0 / 0.7278 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3756, allocations: 0 / 0.7278 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.3757, allocations: 81.11 kB / 0.7279 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.3758, allocations: 81.14 kB / 0.7279 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.3758, allocations: 3.938 kB / 0.7279 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.621e-05/0.3758, allocations: 3.938 kB / 0.7279 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.3758, allocations: 0 / 0.7279 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.3758, allocations: 4 kB / 0.728 GB, free: 8.621 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.931e-05/0.3759, allocations: 83.27 kB / 0.728 GB, free: 8.539 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3759, allocations: 0 / 0.728 GB, free: 8.539 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001945/0.3761, allocations: 24 kB / 0.7281 GB, free: 8.516 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.0001661/0.3762, allocations: 135.3 kB / 0.7282 GB, free: 8.371 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.686e-05/0.3763, allocations: 16 kB / 0.7282 GB, free: 8.355 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3763, allocations: 0 / 0.7282 GB, free: 8.355 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.78e-05/0.3764, allocations: 11.92 kB / 0.7282 GB, free: 8.344 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.3765, allocations: 4 kB / 0.7282 GB, free: 8.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000191/0.3767, allocations: 115.2 kB / 0.7283 GB, free: 8.203 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.3769, allocations: 0.6811 MB / 0.729 GB, free: 7.496 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.739e-05/0.3769, allocations: 4 kB / 0.729 GB, free: 7.492 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.436e-05/0.3769, allocations: 7.438 kB / 0.729 GB, free: 7.484 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.3769, allocations: 0 / 0.729 GB, free: 7.484 MB / 0.545 GB Notification: Performance of Templates: time 0.002452/0.3794, allocations: 0.864 MB / 0.7298 GB, free: 6.652 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)