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.009897/0.009896, allocations: 99.84 kB / 15.73 MB, free: 6.492 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.002203/0.002203, allocations: 201.3 kB / 16.68 MB, free: 6.375 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.745/1.745, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.6395/0.6395, allocations: 95.48 MB / 365.4 MB, free: 9.773 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.001422/0.001422, allocations: 72.11 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.164, allocations: 69.09 MB / 0.5711 GB, free: 8.293 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001845/0.1659, allocations: 0.5515 MB / 0.5716 GB, free: 7.742 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006343/0.1666, allocations: 327.1 kB / 0.572 GB, free: 7.422 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.1666, allocations: 0 / 0.572 GB, free: 7.422 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.1667, allocations: 0 / 0.572 GB, free: 7.422 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.38e-05/0.1667, allocations: 0 / 0.572 GB, free: 7.422 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.1672, allocations: 111.6 kB / 0.5721 GB, free: 7.312 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.763e-05/0.1673, allocations: 4 kB / 0.5721 GB, free: 7.309 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.1673, allocations: 4 kB / 0.5721 GB, free: 7.305 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.991e-05/0.1674, allocations: 7.938 kB / 0.5721 GB, free: 7.297 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.96e-05/0.1674, allocations: 11.92 kB / 0.5721 GB, free: 7.285 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1674, allocations: 0 / 0.5721 GB, free: 7.285 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.1678, allocations: 231.7 kB / 0.5723 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.1678, allocations: 7.984 kB / 0.5723 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.1678, allocations: 7.938 kB / 0.5723 GB, free: 7.043 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.1681, allocations: 91.73 kB / 0.5724 GB, free: 6.953 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1681, allocations: 0 / 0.5724 GB, free: 6.953 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1681, allocations: 4 kB / 0.5724 GB, free: 6.949 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1681, allocations: 0 / 0.5724 GB, free: 6.949 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.0003917/0.1685, allocations: 339.3 kB / 0.5727 GB, free: 6.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1685, allocations: 11.98 kB / 0.5728 GB, free: 6.559 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.311e-05/0.1686, allocations: 4.922 kB / 0.5728 GB, free: 6.555 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.1688, allocations: 172.3 kB / 0.5729 GB, free: 6.348 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1688, allocations: 11.81 kB / 0.5729 GB, free: 6.336 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.1688, allocations: 4 kB / 0.5729 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.1689, allocations: 33.7 kB / 0.573 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1689, allocations: 0 / 0.573 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1689, allocations: 3.984 kB / 0.573 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.169, allocations: 4 kB / 0.573 GB, free: 6.285 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.069e-05/0.169, allocations: 0 / 0.573 GB, free: 6.285 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.1692, allocations: 157.6 kB / 0.5731 GB, free: 6.082 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.203e-05/0.1692, allocations: 26.53 kB / 0.5732 GB, free: 6.047 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.301e-05/0.1693, allocations: 12.92 kB / 0.5732 GB, free: 6.031 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007287/0.17, allocations: 453.5 kB / 0.5736 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.1701, allocations: 38.56 kB / 0.5736 GB, free: 5.449 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.1701, allocations: 4 kB / 0.5736 GB, free: 5.445 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005242/0.1706, allocations: 254.3 kB / 0.5739 GB, free: 5.145 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.1707, allocations: 51.41 kB / 0.5739 GB, free: 5.082 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.158e-05/0.1707, allocations: 93.86 kB / 0.574 GB, free: 4.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1707, allocations: 25.7 kB / 0.574 GB, free: 4.949 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.1708, allocations: 84.48 kB / 0.5741 GB, free: 4.863 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.1708, allocations: 7.953 kB / 0.5741 GB, free: 4.855 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.1709, allocations: 21.7 kB / 0.5742 GB, free: 4.828 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.171, allocations: 314.8 kB / 0.5745 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.171, allocations: 4 kB / 0.5745 GB, free: 4.508 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.24e-05/0.1711, allocations: 21.72 kB / 0.5745 GB, free: 4.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.141e-05/0.1711, allocations: 33.64 kB / 0.5745 GB, free: 4.441 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1711, allocations: 0 / 0.5745 GB, free: 4.441 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001109/0.1712, allocations: 49.64 kB / 0.5746 GB, free: 4.387 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1713, allocations: 4.938 kB / 0.5746 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1713, allocations: 0 / 0.5746 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.1713, allocations: 11.92 kB / 0.5746 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.481e-05/0.1714, allocations: 4 kB / 0.5746 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1714, allocations: 0 / 0.5746 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.638e-05/0.1714, allocations: 4 kB / 0.5746 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.1714, allocations: 0 / 0.5746 GB, free: 4.363 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 7.415e-05/0.1715, allocations: 117.8 kB / 0.5747 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.1715, allocations: 11.89 kB / 0.5747 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.1717, allocations: 57.11 kB / 0.5748 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1717, allocations: 0 / 0.5748 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1717, allocations: 0 / 0.5748 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1717, allocations: 0 / 0.5748 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.1718, allocations: 157.6 kB / 0.5749 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1718, allocations: 0 / 0.5749 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.1719, allocations: 4 kB / 0.5749 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.1719, allocations: 8 kB / 0.5749 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.1719, allocations: 0 / 0.5749 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1719, allocations: 0 / 0.5749 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1719, allocations: 0 / 0.5749 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.172, allocations: 77.06 kB / 0.575 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.1721, allocations: 81.09 kB / 0.5751 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.1721, allocations: 4.031 kB / 0.5751 GB, free: 3.746 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.125e-05/0.1721, allocations: 0 / 0.5751 GB, free: 3.746 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.1722, allocations: 8 kB / 0.5751 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1722, allocations: 4 kB / 0.5751 GB, free: 3.734 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.496e-05/0.1722, allocations: 75.28 kB / 0.5752 GB, free: 3.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1722, allocations: 0 / 0.5752 GB, free: 3.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.1725, allocations: 31.92 kB / 0.5752 GB, free: 3.629 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.0001862/0.1727, allocations: 123.2 kB / 0.5753 GB, free: 3.496 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.828e-05/0.1728, allocations: 16.39 kB / 0.5753 GB, free: 3.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1728, allocations: 4.062 kB / 0.5753 GB, free: 3.477 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.846e-05/0.1728, allocations: 15.92 kB / 0.5753 GB, free: 3.461 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.1729, allocations: 7.922 kB / 0.5754 GB, free: 3.453 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002518/0.1732, allocations: 97.58 kB / 0.5754 GB, free: 3.332 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.1735, allocations: 0.6729 MB / 0.5761 GB, free: 2.633 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.935e-05/0.1735, allocations: 7.938 kB / 0.5761 GB, free: 2.625 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.1735, allocations: 11.42 kB / 0.5761 GB, free: 2.613 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.1735, allocations: 0 / 0.5761 GB, free: 2.613 MB / 446.1 MB Notification: Performance of Templates: time 0.003251/0.1768, allocations: 0.854 MB / 0.577 GB, free: 1.766 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)