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.007416/0.007415, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001433/0.001433, allocations: 197.4 kB / 16.68 MB, free: 5.965 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.601/1.601, allocations: 205.1 MB / 222.5 MB, free: 4.359 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.6896/0.6896, allocations: 95.48 MB / 365.4 MB, free: 9.68 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.00139/0.00139, allocations: 71.91 kB / 0.5036 GB, free: 13.42 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1556, allocations: 69.07 MB / 0.5711 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001748/0.1574, allocations: 0.5552 MB / 0.5716 GB, free: 7.727 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006583/0.1581, allocations: 327.1 kB / 0.572 GB, free: 7.406 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.395e-05/0.1581, allocations: 4 kB / 0.572 GB, free: 7.402 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.1581, allocations: 0 / 0.572 GB, free: 7.402 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.885e-05/0.1581, allocations: 0 / 0.572 GB, free: 7.402 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.1586, allocations: 107.6 kB / 0.5721 GB, free: 7.297 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.939e-05/0.1587, allocations: 8 kB / 0.5721 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.1587, allocations: 0 / 0.5721 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.938e-05/0.1588, allocations: 7.938 kB / 0.5721 GB, free: 7.281 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.596e-05/0.1588, allocations: 7.969 kB / 0.5721 GB, free: 7.273 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.1588, allocations: 4 kB / 0.5721 GB, free: 7.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.1592, allocations: 227.7 kB / 0.5723 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.836e-05/0.1592, allocations: 15.97 kB / 0.5723 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.928e-05/0.1592, allocations: 3.938 kB / 0.5723 GB, free: 7.027 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.1595, allocations: 91.88 kB / 0.5724 GB, free: 6.938 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1595, allocations: 0 / 0.5724 GB, free: 6.938 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1595, allocations: 0 / 0.5724 GB, free: 6.938 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.1595, allocations: 0 / 0.5724 GB, free: 6.938 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.0003611/0.1599, allocations: 343.5 kB / 0.5727 GB, free: 6.555 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1599, allocations: 11.98 kB / 0.5728 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.16, allocations: 8.922 kB / 0.5728 GB, free: 6.535 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1601, allocations: 164.4 kB / 0.5729 GB, free: 6.336 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.1601, allocations: 3.938 kB / 0.5729 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.1601, allocations: 3.906 kB / 0.5729 GB, free: 6.328 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1602, allocations: 37.58 kB / 0.573 GB, free: 6.285 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.1603, allocations: 11.92 kB / 0.573 GB, free: 6.273 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1603, allocations: 3.984 kB / 0.573 GB, free: 6.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1603, allocations: 4 kB / 0.573 GB, free: 6.266 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/0.1603, allocations: 4 kB / 0.573 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.1605, allocations: 153.6 kB / 0.5731 GB, free: 6.062 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.096e-05/0.1606, allocations: 26.59 kB / 0.5732 GB, free: 6.027 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.541e-05/0.1606, allocations: 8.922 kB / 0.5732 GB, free: 6.016 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007772/0.1614, allocations: 453.5 kB / 0.5736 GB, free: 5.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.1614, allocations: 30.56 kB / 0.5736 GB, free: 5.441 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.1614, allocations: 7.938 kB / 0.5736 GB, free: 5.434 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005291/0.162, allocations: 246.4 kB / 0.5739 GB, free: 5.141 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.162, allocations: 59.61 kB / 0.5739 GB, free: 5.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.293e-05/0.1621, allocations: 97.86 kB / 0.574 GB, free: 4.965 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.1621, allocations: 25.7 kB / 0.574 GB, free: 4.934 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.065e-05/0.1622, allocations: 80.14 kB / 0.5741 GB, free: 4.852 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.1623, allocations: 11.8 kB / 0.5741 GB, free: 4.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.1623, allocations: 21.7 kB / 0.5742 GB, free: 4.812 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1624, allocations: 314.8 kB / 0.5745 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.1625, allocations: 4 kB / 0.5745 GB, free: 4.492 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.1625, allocations: 21.84 kB / 0.5745 GB, free: 4.465 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.983e-05/0.1626, allocations: 33.64 kB / 0.5745 GB, free: 4.426 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1626, allocations: 0 / 0.5745 GB, free: 4.426 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.368e-05/0.1627, allocations: 45.7 kB / 0.5746 GB, free: 4.375 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1627, allocations: 4 kB / 0.5746 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1627, allocations: 0 / 0.5746 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1627, allocations: 12.05 kB / 0.5746 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.106e-05/0.1628, allocations: 4 kB / 0.5746 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1628, allocations: 3.938 kB / 0.5746 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.631e-05/0.1628, allocations: 4 kB / 0.5746 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1628, allocations: 4 kB / 0.5746 GB, free: 4.344 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 6.96e-05/0.1629, allocations: 109.8 kB / 0.5747 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.1629, allocations: 4 kB / 0.5747 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.1631, allocations: 57.11 kB / 0.5747 GB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1631, allocations: 7.938 kB / 0.5748 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1631, allocations: 0 / 0.5748 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1631, allocations: 0 / 0.5748 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.1632, allocations: 157.6 kB / 0.5749 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1632, allocations: 3.938 kB / 0.5749 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.937e-05/0.1633, allocations: 4 kB / 0.5749 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1633, allocations: 3.938 kB / 0.5749 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.1633, allocations: 4 kB / 0.5749 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1633, allocations: 0 / 0.5749 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1633, allocations: 0 / 0.5749 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.1635, allocations: 84.97 kB / 0.575 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.1635, allocations: 81.33 kB / 0.5751 GB, free: 3.727 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.1635, allocations: 4.031 kB / 0.5751 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.509e-05/0.1636, allocations: 4 kB / 0.5751 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.1636, allocations: 3.984 kB / 0.5751 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.1636, allocations: 8 kB / 0.5751 GB, free: 3.707 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.56e-05/0.1636, allocations: 75.28 kB / 0.5752 GB, free: 3.633 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1636, allocations: 160 / 0.5752 GB, free: 3.633 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000215/0.1639, allocations: 27.98 kB / 0.5752 GB, free: 3.605 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.0001909/0.1641, allocations: 119.2 kB / 0.5753 GB, free: 3.477 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.343e-05/0.1642, allocations: 19.94 kB / 0.5753 GB, free: 3.457 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1642, allocations: 0 / 0.5753 GB, free: 3.457 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.535e-05/0.1642, allocations: 8 kB / 0.5753 GB, free: 3.449 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.1643, allocations: 7.938 kB / 0.5753 GB, free: 3.441 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002732/0.1646, allocations: 113.7 kB / 0.5755 GB, free: 3.305 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.165, allocations: 0.6767 MB / 0.5761 GB, free: 2.602 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.813e-05/0.165, allocations: 0 / 0.5761 GB, free: 2.602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.165, allocations: 11.44 kB / 0.5761 GB, free: 2.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.165, allocations: 0 / 0.5761 GB, free: 2.59 MB / 446.1 MB Notification: Performance of Templates: time 0.003906/0.1689, allocations: 0.8543 MB / 0.577 GB, free: 1.742 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)