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.008847/0.008847, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.00134/0.00134, allocations: 186.9 kB / 16.67 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.634/1.634, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.6547/0.6547, allocations: 95.48 MB / 365.4 MB, free: 9.785 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.001396/0.001397, allocations: 71.91 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.153, allocations: 69.09 MB / 0.5711 GB, free: 8.301 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002027/0.1551, allocations: 0.5592 MB / 0.5717 GB, free: 7.742 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006387/0.1557, allocations: 319.2 kB / 0.572 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.1558, allocations: 4 kB / 0.572 GB, free: 7.426 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.1558, allocations: 0 / 0.572 GB, free: 7.426 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.487e-05/0.1558, allocations: 3.938 kB / 0.572 GB, free: 7.422 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.1563, allocations: 103.7 kB / 0.5721 GB, free: 7.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.498e-05/0.1564, allocations: 8 kB / 0.5721 GB, free: 7.312 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.1565, allocations: 7.969 kB / 0.5721 GB, free: 7.305 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.912e-05/0.1565, allocations: 7.938 kB / 0.5721 GB, free: 7.297 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.409e-05/0.1565, allocations: 3.938 kB / 0.5721 GB, free: 7.293 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1566, allocations: 8 kB / 0.5721 GB, free: 7.285 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003431/0.1569, allocations: 231.7 kB / 0.5723 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.1569, allocations: 0 / 0.5723 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.157, allocations: 11.94 kB / 0.5723 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.1572, allocations: 83.88 kB / 0.5724 GB, free: 6.965 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1572, allocations: 0 / 0.5724 GB, free: 6.965 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1572, allocations: 4 kB / 0.5724 GB, free: 6.961 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1572, allocations: 3.984 kB / 0.5724 GB, free: 6.957 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.0005127/0.1577, allocations: 339.5 kB / 0.5727 GB, free: 6.578 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.1578, allocations: 15.98 kB / 0.5728 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.485e-05/0.1579, allocations: 8.875 kB / 0.5728 GB, free: 6.555 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.1581, allocations: 164.4 kB / 0.5729 GB, free: 6.355 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.1581, allocations: 11.94 kB / 0.5729 GB, free: 6.344 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.1581, allocations: 3.906 kB / 0.5729 GB, free: 6.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.1583, allocations: 33.69 kB / 0.573 GB, free: 6.301 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1583, allocations: 3.938 kB / 0.573 GB, free: 6.297 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1583, allocations: 0 / 0.573 GB, free: 6.297 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1583, allocations: 0 / 0.573 GB, free: 6.297 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.437e-05/0.1584, allocations: 4 kB / 0.573 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.1586, allocations: 161.6 kB / 0.5731 GB, free: 6.086 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.107e-05/0.1587, allocations: 22.55 kB / 0.5731 GB, free: 6.055 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.1587, allocations: 8.922 kB / 0.5732 GB, free: 6.043 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008748/0.1596, allocations: 461.5 kB / 0.5736 GB, free: 5.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.1596, allocations: 30.56 kB / 0.5736 GB, free: 5.461 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.914e-06/0.1596, allocations: 0 / 0.5736 GB, free: 5.461 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006503/0.1603, allocations: 246.4 kB / 0.5739 GB, free: 5.168 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.1603, allocations: 59.62 kB / 0.5739 GB, free: 5.098 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.697e-05/0.1604, allocations: 89.86 kB / 0.574 GB, free: 5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1605, allocations: 25.7 kB / 0.574 GB, free: 4.969 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.1605, allocations: 88.14 kB / 0.5741 GB, free: 4.879 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.1606, allocations: 11.8 kB / 0.5741 GB, free: 4.867 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.1606, allocations: 17.72 kB / 0.5741 GB, free: 4.844 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1607, allocations: 314.8 kB / 0.5744 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.1608, allocations: 4.125 kB / 0.5744 GB, free: 4.523 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.1608, allocations: 29.64 kB / 0.5745 GB, free: 4.488 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/0.1609, allocations: 25.72 kB / 0.5745 GB, free: 4.457 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1609, allocations: 0 / 0.5745 GB, free: 4.457 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.434e-05/0.161, allocations: 53.62 kB / 0.5745 GB, free: 4.398 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.161, allocations: 4 kB / 0.5746 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.161, allocations: 208 / 0.5746 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.161, allocations: 7.938 kB / 0.5746 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.685e-05/0.1611, allocations: 11.98 kB / 0.5746 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1611, allocations: 0 / 0.5746 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.1611, allocations: 0 / 0.5746 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1611, allocations: 4 kB / 0.5746 GB, free: 4.371 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.6e-05/0.1612, allocations: 113.8 kB / 0.5747 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.1613, allocations: 7.984 kB / 0.5747 GB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.1614, allocations: 57.06 kB / 0.5747 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1615, allocations: 4 kB / 0.5748 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1615, allocations: 3.938 kB / 0.5748 GB, free: 4.164 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1615, allocations: 0 / 0.5748 GB, free: 4.164 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.1616, allocations: 157.6 kB / 0.5749 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1616, allocations: 0 / 0.5749 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.911e-05/0.1617, allocations: 4 kB / 0.5749 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1617, allocations: 0 / 0.5749 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1617, allocations: 4 kB / 0.5749 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1617, allocations: 4 kB / 0.5749 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1617, allocations: 0 / 0.5749 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.1619, allocations: 92.89 kB / 0.575 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.162, allocations: 77.11 kB / 0.5751 GB, free: 3.746 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.162, allocations: 0 / 0.5751 GB, free: 3.746 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.824e-05/0.162, allocations: 4.031 kB / 0.5751 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.162, allocations: 0 / 0.5751 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.1621, allocations: 3.984 kB / 0.5751 GB, free: 3.738 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.638e-05/0.1621, allocations: 83.28 kB / 0.5752 GB, free: 3.656 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1621, allocations: 160 / 0.5752 GB, free: 3.656 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.1623, allocations: 20 kB / 0.5752 GB, free: 3.637 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.0002887/0.1626, allocations: 127.2 kB / 0.5753 GB, free: 3.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.1628, allocations: 16 kB / 0.5753 GB, free: 3.484 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1628, allocations: 0 / 0.5753 GB, free: 3.484 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.821e-05/0.1628, allocations: 11.92 kB / 0.5753 GB, free: 3.473 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.163, allocations: 11.88 kB / 0.5753 GB, free: 3.461 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.1633, allocations: 105.8 kB / 0.5754 GB, free: 3.332 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.1637, allocations: 0.6807 MB / 0.5761 GB, free: 2.625 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.104e-05/0.1637, allocations: 3.938 kB / 0.5761 GB, free: 2.621 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.1637, allocations: 15.44 kB / 0.5761 GB, free: 2.605 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1638, allocations: 0 / 0.5761 GB, free: 2.605 MB / 446.1 MB Notification: Performance of Templates: time 0.003853/0.1676, allocations: 0.8382 MB / 0.5769 GB, free: 1.773 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)