Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001878/0.001878, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001745/0.001745, allocations: 189.5 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00255/0.00255, allocations: 294.7 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.107/1.107, allocations: 178.6 MB / 0.507 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002855/0.002855, allocations: 105.5 kB / 0.6059 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1597, allocations: 89.15 MB / 0.693 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001751/0.1614, allocations: 0.6579 MB / 0.6936 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006757/0.1621, allocations: 364.6 kB / 0.694 GB, free: 3.664 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.683e-05/0.1622, allocations: 0.6562 kB / 0.694 GB, free: 3.664 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.1622, allocations: 0 / 0.694 GB, free: 3.664 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.114e-05/0.1622, allocations: 1.531 kB / 0.694 GB, free: 3.664 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.1626, allocations: 94.66 kB / 0.6941 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.147e-05/0.1627, allocations: 19.92 kB / 0.6941 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.21e-05/0.1627, allocations: 0 / 0.6941 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.668e-05/0.1628, allocations: 4 kB / 0.6941 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.859e-05/0.1628, allocations: 3.938 kB / 0.6941 GB, free: 3.547 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.1628, allocations: 0 / 0.6941 GB, free: 3.547 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003882/0.1632, allocations: 275.6 kB / 0.6944 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.1632, allocations: 4.766 kB / 0.6944 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.647e-05/0.1633, allocations: 4 kB / 0.6944 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.1634, allocations: 93.52 kB / 0.6945 GB, free: 3.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1634, allocations: 3.984 kB / 0.6945 GB, free: 3.176 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1634, allocations: 0 / 0.6945 GB, free: 3.176 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1635, allocations: 0 / 0.6945 GB, free: 3.176 MB / 494.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.0003788/0.1638, allocations: 339.9 kB / 0.6948 GB, free: 2.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.1639, allocations: 8.031 kB / 0.6948 GB, free: 2.785 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.1639, allocations: 4.938 kB / 0.6948 GB, free: 2.781 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.1641, allocations: 168.2 kB / 0.695 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.1641, allocations: 384 / 0.695 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.1641, allocations: 8.375 kB / 0.695 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.567e-05/0.1642, allocations: 34.25 kB / 0.695 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.1642, allocations: 4.125 kB / 0.695 GB, free: 2.527 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1642, allocations: 3.938 kB / 0.695 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1643, allocations: 7.938 kB / 0.695 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.956e-05/0.1643, allocations: 4 kB / 0.695 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.1644, allocations: 149.7 kB / 0.6952 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.28e-05/0.1645, allocations: 22.61 kB / 0.6952 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.1645, allocations: 12.86 kB / 0.6952 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007618/0.1653, allocations: 465.5 kB / 0.6956 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1653, allocations: 30.56 kB / 0.6957 GB, free: 1.684 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 3.095e-06/0.1653, allocations: 0 / 0.6957 GB, free: 1.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004974/0.1658, allocations: 258.5 kB / 0.6959 GB, free: 1.379 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.1659, allocations: 55.41 kB / 0.696 GB, free: 1.312 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.54e-05/0.166, allocations: 93.84 kB / 0.6961 GB, free: 1.211 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.166, allocations: 29.64 kB / 0.6961 GB, free: 1.176 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.1661, allocations: 88.14 kB / 0.6962 GB, free: 1.086 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.1661, allocations: 7.812 kB / 0.6962 GB, free: 1.078 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.1661, allocations: 17.72 kB / 0.6962 GB, free: 1.055 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1663, allocations: 315 kB / 0.6965 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.085e-05/0.1663, allocations: 7.984 kB / 0.6965 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.1663, allocations: 17.72 kB / 0.6965 GB, free: 0.707 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.011e-05/0.1664, allocations: 25.72 kB / 0.6966 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1664, allocations: 3.938 kB / 0.6966 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001057/0.1665, allocations: 53.72 kB / 0.6966 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1665, allocations: 7.938 kB / 0.6966 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1665, allocations: 0 / 0.6966 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.1665, allocations: 0 / 0.6966 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.404e-05/0.1666, allocations: 8 kB / 0.6966 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1666, allocations: 3.938 kB / 0.6966 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.1666, allocations: 3.984 kB / 0.6966 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.1666, allocations: 4 kB / 0.6966 GB, free: 0.5859 MB / 494.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.485e-05/0.1667, allocations: 109.8 kB / 0.6967 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.1668, allocations: 11.97 kB / 0.6967 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.1669, allocations: 53.31 kB / 0.6968 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1669, allocations: 0 / 0.6968 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1669, allocations: 0 / 0.6968 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1669, allocations: 0 / 0.6968 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.167, allocations: 153.7 kB / 0.6969 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.167, allocations: 0 / 0.6969 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.142e-05/0.1671, allocations: 7.984 kB / 0.697 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1671, allocations: 7.875 kB / 0.697 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1671, allocations: 11.94 kB / 0.697 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1671, allocations: 0 / 0.697 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1671, allocations: 0 / 0.697 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.1673, allocations: 77.03 kB / 0.697 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.1674, allocations: 77.11 kB / 0.6971 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1674, allocations: 7.969 kB / 0.6971 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.213e-05/0.1674, allocations: 3.984 kB / 0.6971 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.1674, allocations: 0 / 0.6971 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.1675, allocations: 8.062 kB / 0.6971 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.68e-05/0.1675, allocations: 83.22 kB / 0.6972 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1675, allocations: 0 / 0.6972 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002228/0.1677, allocations: 24 kB / 0.6972 GB, free: 15.86 MB / 0.4981 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.0002/0.168, allocations: 123.2 kB / 0.6974 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.659e-05/0.168, allocations: 23.92 kB / 0.6974 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1681, allocations: 224 / 0.6974 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.604e-05/0.1681, allocations: 8 kB / 0.6974 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.1682, allocations: 8 kB / 0.6974 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.1685, allocations: 113.5 kB / 0.6975 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.1688, allocations: 0.6806 MB / 0.6982 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.012e-05/0.1688, allocations: 4 kB / 0.6982 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.1688, allocations: 7.438 kB / 0.6982 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1688, allocations: 4 kB / 0.6982 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.003215/0.1721, allocations: 0.8827 MB / 0.699 GB, free: 13.98 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)