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.000999/0.0009993, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001137/0.001137, allocations: 199.2 kB / 16.14 MB, free: 6.707 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.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002148, allocations: 267.2 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.041/1.041, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 96.92 kB / 0.5945 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1584, allocations: 86.99 MB / 0.6795 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002107/0.1606, allocations: 0.6428 MB / 0.6801 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008115/0.1614, allocations: 383.4 kB / 0.6804 GB, free: 136 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.1615, allocations: 0.6562 kB / 0.6804 GB, free: 136 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.1615, allocations: 0 / 0.6804 GB, free: 136 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.055e-05/0.1616, allocations: 2.094 kB / 0.6805 GB, free: 136 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.162, allocations: 75.83 kB / 0.6805 GB, free: 60 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.781e-05/0.1621, allocations: 14.36 kB / 0.6805 GB, free: 48 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.98e-05/0.1622, allocations: 4 kB / 0.6805 GB, free: 44 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.983e-05/0.1622, allocations: 3.938 kB / 0.6805 GB, free: 40 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.303e-05/0.1622, allocations: 11.98 kB / 0.6806 GB, free: 28 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.1623, allocations: 0 / 0.6806 GB, free: 28 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003844/0.1627, allocations: 271.6 kB / 0.6808 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.1627, allocations: 4 kB / 0.6808 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.1627, allocations: 4.719 kB / 0.6808 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.1629, allocations: 99.83 kB / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1629, allocations: 1.719 kB / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1629, allocations: 0 / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1629, allocations: 0 / 0.6809 GB, free: 15.66 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.0003593/0.1633, allocations: 340.8 kB / 0.6812 GB, free: 15.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1633, allocations: 8.031 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.1634, allocations: 0.9375 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1635, allocations: 168.8 kB / 0.6814 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.1635, allocations: 1.531 kB / 0.6814 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.1636, allocations: 4.359 kB / 0.6814 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.776e-05/0.1637, allocations: 35.17 kB / 0.6815 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1637, allocations: 192 / 0.6815 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1637, allocations: 8.406 kB / 0.6815 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1637, allocations: 7.938 kB / 0.6815 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.043e-05/0.1637, allocations: 4 kB / 0.6815 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.1639, allocations: 157.6 kB / 0.6816 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.559e-05/0.164, allocations: 18.61 kB / 0.6816 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.164, allocations: 12.91 kB / 0.6817 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000721/0.1647, allocations: 457.5 kB / 0.6821 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.1648, allocations: 34.56 kB / 0.6821 GB, free: 14.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1648, allocations: 0 / 0.6821 GB, free: 14.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005648/0.1653, allocations: 254.5 kB / 0.6824 GB, free: 13.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.1654, allocations: 55.41 kB / 0.6824 GB, free: 13.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.954e-05/0.1655, allocations: 97.84 kB / 0.6825 GB, free: 13.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1655, allocations: 25.7 kB / 0.6825 GB, free: 13.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.918e-05/0.1655, allocations: 80.14 kB / 0.6826 GB, free: 13.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.1655, allocations: 19.75 kB / 0.6826 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.1656, allocations: 9.719 kB / 0.6826 GB, free: 13.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1657, allocations: 327 kB / 0.683 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.1657, allocations: 4 kB / 0.683 GB, free: 13.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.791e-05/0.1658, allocations: 13.72 kB / 0.683 GB, free: 13.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.157e-05/0.1658, allocations: 33.7 kB / 0.683 GB, free: 13.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1658, allocations: 0 / 0.683 GB, free: 13.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000106/0.1659, allocations: 49.64 kB / 0.683 GB, free: 13.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.166, allocations: 16 kB / 0.6831 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.166, allocations: 0 / 0.6831 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.166, allocations: 0 / 0.6831 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.261e-05/0.1661, allocations: 7.984 kB / 0.6831 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1661, allocations: 4 kB / 0.6831 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.092e-05/0.1661, allocations: 0 / 0.6831 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1661, allocations: 3.938 kB / 0.6831 GB, free: 13.07 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.641e-05/0.1662, allocations: 111.2 kB / 0.6832 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.1662, allocations: 3.938 kB / 0.6832 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.1664, allocations: 57.19 kB / 0.6832 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1664, allocations: 3.984 kB / 0.6832 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1664, allocations: 0 / 0.6832 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1664, allocations: 4 kB / 0.6833 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.901e-05/0.1665, allocations: 157.6 kB / 0.6834 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1665, allocations: 0 / 0.6834 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.1666, allocations: 4.188 kB / 0.6834 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1666, allocations: 3.938 kB / 0.6834 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1666, allocations: 0 / 0.6834 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1666, allocations: 7.938 kB / 0.6834 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1666, allocations: 3.984 kB / 0.6834 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.1668, allocations: 77.12 kB / 0.6835 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.655e-05/0.1668, allocations: 85 kB / 0.6836 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.1668, allocations: 3.938 kB / 0.6836 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.86e-05/0.1669, allocations: 0 / 0.6836 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.1669, allocations: 4.031 kB / 0.6836 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.1669, allocations: 4.062 kB / 0.6836 GB, free: 12.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.952e-05/0.1669, allocations: 79.28 kB / 0.6837 GB, free: 12.37 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1669, allocations: 0 / 0.6837 GB, free: 12.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.1672, allocations: 23.98 kB / 0.6837 GB, free: 12.35 MB / 494.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.0002043/0.1674, allocations: 131.2 kB / 0.6838 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.056e-05/0.1675, allocations: 19.94 kB / 0.6838 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1675, allocations: 0 / 0.6838 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.1675, allocations: 12.22 kB / 0.6838 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.1677, allocations: 0 / 0.6838 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002418/0.1679, allocations: 119.4 kB / 0.684 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.1681, allocations: 0.6731 MB / 0.6846 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.097e-05/0.1682, allocations: 4 kB / 0.6846 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.74e-05/0.1682, allocations: 11.44 kB / 0.6846 GB, free: 11.32 MB / 494.1 MB Notification: Performance of SimCode: time 1.703e-06/0.1682, allocations: 4 kB / 0.6846 GB, free: 11.32 MB / 494.1 MB Notification: Performance of Templates: time 0.003067/0.1713, allocations: 0.8703 MB / 0.6855 GB, free: 10.48 MB / 494.1 MB 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)