Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.007772/0.007772, allocations: 106.2 kB / 15.74 MB, free: 6 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.001506/0.001506, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.725/1.725, allocations: 205.1 MB / 222.5 MB, free: 4.352 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6096/0.6096, allocations: 95.48 MB / 365.4 MB, free: 9.695 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 78.55 kB / 0.5036 GB, free: 13.57 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1627, allocations: 69.08 MB / 0.5711 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001892/0.1646, allocations: 0.5552 MB / 0.5717 GB, free: 7.863 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000609/0.1653, allocations: 327.1 kB / 0.572 GB, free: 7.543 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.1653, allocations: 0 / 0.572 GB, free: 7.543 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.1653, allocations: 0 / 0.572 GB, free: 7.543 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.805e-05/0.1654, allocations: 0 / 0.572 GB, free: 7.543 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.1658, allocations: 111.2 kB / 0.5721 GB, free: 7.438 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.162e-05/0.1659, allocations: 11.94 kB / 0.5721 GB, free: 7.426 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.1659, allocations: 4 kB / 0.5721 GB, free: 7.422 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.983e-05/0.1659, allocations: 7.922 kB / 0.5721 GB, free: 7.414 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.89e-05/0.166, allocations: 7.984 kB / 0.5721 GB, free: 7.406 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.166, allocations: 0 / 0.5721 GB, free: 7.406 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/0.1663, allocations: 235.7 kB / 0.5723 GB, free: 7.176 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.1664, allocations: 3.938 kB / 0.5723 GB, free: 7.172 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.1664, allocations: 7.938 kB / 0.5723 GB, free: 7.164 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.1666, allocations: 91.88 kB / 0.5724 GB, free: 7.074 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1666, allocations: 4 kB / 0.5724 GB, free: 7.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1666, allocations: 0 / 0.5724 GB, free: 7.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.82e-06/0.1666, allocations: 0 / 0.5724 GB, free: 7.07 MB / 446.1 MB 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.0005843/0.1672, allocations: 339.5 kB / 0.5728 GB, free: 6.691 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.1673, allocations: 15.97 kB / 0.5728 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.1674, allocations: 4.938 kB / 0.5728 GB, free: 6.672 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.1676, allocations: 164.4 kB / 0.5729 GB, free: 6.473 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1676, allocations: 3.938 kB / 0.5729 GB, free: 6.469 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/0.1676, allocations: 3.906 kB / 0.5729 GB, free: 6.465 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1678, allocations: 37.69 kB / 0.573 GB, free: 6.422 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1678, allocations: 4 kB / 0.573 GB, free: 6.418 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1678, allocations: 3.938 kB / 0.573 GB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1678, allocations: 3.938 kB / 0.573 GB, free: 6.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.149e-05/0.1678, allocations: 0 / 0.573 GB, free: 6.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.1681, allocations: 165.6 kB / 0.5731 GB, free: 6.199 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.066e-05/0.1681, allocations: 22.61 kB / 0.5732 GB, free: 6.168 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/0.1682, allocations: 12.92 kB / 0.5732 GB, free: 6.152 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007701/0.1689, allocations: 449.5 kB / 0.5736 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.169, allocations: 42.55 kB / 0.5736 GB, free: 5.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 3.015e-06/0.169, allocations: 3.984 kB / 0.5736 GB, free: 5.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005643/0.1696, allocations: 246.4 kB / 0.5739 GB, free: 5.273 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.1696, allocations: 55.34 kB / 0.5739 GB, free: 5.207 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.324e-05/0.1697, allocations: 93.86 kB / 0.574 GB, free: 5.105 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.1697, allocations: 30.05 kB / 0.5741 GB, free: 5.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.1698, allocations: 84.14 kB / 0.5741 GB, free: 4.984 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.1698, allocations: 7.812 kB / 0.5741 GB, free: 4.977 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.1699, allocations: 21.7 kB / 0.5742 GB, free: 4.949 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.17, allocations: 318.8 kB / 0.5745 GB, free: 4.629 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.1701, allocations: 0 / 0.5745 GB, free: 4.629 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.607e-05/0.1701, allocations: 21.72 kB / 0.5745 GB, free: 4.602 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.435e-05/0.1702, allocations: 29.7 kB / 0.5745 GB, free: 4.566 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1702, allocations: 0 / 0.5745 GB, free: 4.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.724e-05/0.1703, allocations: 49.64 kB / 0.5746 GB, free: 4.512 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1703, allocations: 4 kB / 0.5746 GB, free: 4.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.1703, allocations: 7.984 kB / 0.5746 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1704, allocations: 0 / 0.5746 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.1704, allocations: 4 kB / 0.5746 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.1704, allocations: 4 kB / 0.5746 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.466e-05/0.1705, allocations: 3.938 kB / 0.5746 GB, free: 4.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.1705, allocations: 4.062 kB / 0.5746 GB, free: 4.484 MB / 446.1 MB 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 9.896e-05/0.1706, allocations: 121.7 kB / 0.5747 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.1706, allocations: 0 / 0.5747 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.1708, allocations: 57.11 kB / 0.5748 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.1708, allocations: 0 / 0.5748 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.1708, allocations: 0 / 0.5748 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1708, allocations: 3.938 kB / 0.5748 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.171, allocations: 157.6 kB / 0.5749 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.171, allocations: 4 kB / 0.5749 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/0.171, allocations: 8 kB / 0.5749 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1711, allocations: 0 / 0.5749 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1711, allocations: 0 / 0.5749 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.1711, allocations: 0 / 0.5749 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.1711, allocations: 3.938 kB / 0.5749 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.1713, allocations: 84.95 kB / 0.575 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.1714, allocations: 81.14 kB / 0.5751 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.1714, allocations: 64 / 0.5751 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.288e-05/0.1714, allocations: 4 kB / 0.5751 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.1714, allocations: 0 / 0.5751 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.1715, allocations: 8 kB / 0.5751 GB, free: 3.852 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.731e-05/0.1715, allocations: 79.28 kB / 0.5752 GB, free: 3.773 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1715, allocations: 0 / 0.5752 GB, free: 3.773 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.1718, allocations: 23.98 kB / 0.5752 GB, free: 3.75 MB / 446.1 MB 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.0002594/0.172, allocations: 123.2 kB / 0.5753 GB, free: 3.617 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.1722, allocations: 24.03 kB / 0.5753 GB, free: 3.594 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1722, allocations: 0 / 0.5753 GB, free: 3.594 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.728e-05/0.1722, allocations: 8 kB / 0.5753 GB, free: 3.586 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.1724, allocations: 7.922 kB / 0.5754 GB, free: 3.578 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.1728, allocations: 109.6 kB / 0.5755 GB, free: 3.445 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.1731, allocations: 0.6732 MB / 0.5761 GB, free: 2.746 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.124e-05/0.1732, allocations: 7.938 kB / 0.5761 GB, free: 2.738 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.1732, allocations: 15.55 kB / 0.5761 GB, free: 2.723 MB / 446.1 MB Notification: Performance of SimCode: time 2.905e-06/0.1732, allocations: 0 / 0.5761 GB, free: 2.723 MB / 446.1 MB Notification: Performance of Templates: time 0.00384/0.1771, allocations: 0.8416 MB / 0.577 GB, free: 1.887 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)