Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001741/0.001741, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002509/0.002509, allocations: 279 kB / 290.3 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 178.6 MB / 0.5069 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002792/0.002792, allocations: 99.95 kB / 0.6059 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1647, allocations: 89.15 MB / 0.693 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001811/0.1665, allocations: 0.6854 MB / 0.6937 GB, free: 4.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006731/0.1672, allocations: 360.6 kB / 0.694 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.1672, allocations: 0 / 0.694 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.311e-05/0.1673, allocations: 0 / 0.694 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.26e-05/0.1673, allocations: 0 / 0.694 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.1677, allocations: 107.8 kB / 0.6941 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.041e-05/0.1678, allocations: 19.97 kB / 0.6941 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.1678, allocations: 4 kB / 0.6941 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.387e-05/0.1679, allocations: 11.94 kB / 0.6941 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.902e-05/0.1679, allocations: 19.86 kB / 0.6942 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1679, allocations: 4 kB / 0.6942 GB, free: 3.516 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003743/0.1683, allocations: 275.6 kB / 0.6944 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.1684, allocations: 3.984 kB / 0.6944 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.1684, allocations: 11.94 kB / 0.6944 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.1686, allocations: 111.8 kB / 0.6945 GB, free: 3.121 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1686, allocations: 0 / 0.6945 GB, free: 3.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1686, allocations: 0 / 0.6945 GB, free: 3.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1686, allocations: 0 / 0.6945 GB, free: 3.121 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004356/0.169, allocations: 363.7 kB / 0.6949 GB, free: 2.715 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1691, allocations: 8.031 kB / 0.6949 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.1691, allocations: 8.875 kB / 0.6949 GB, free: 2.699 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.1693, allocations: 164.3 kB / 0.6951 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.1693, allocations: 4.375 kB / 0.6951 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.1693, allocations: 8.375 kB / 0.6951 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.1694, allocations: 46.25 kB / 0.6951 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1695, allocations: 4.094 kB / 0.6951 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1695, allocations: 3.938 kB / 0.6951 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1695, allocations: 7.984 kB / 0.6951 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.637e-05/0.1695, allocations: 12 kB / 0.6952 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.1697, allocations: 165.7 kB / 0.6953 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.1699, allocations: 66.5 kB / 0.6954 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.642e-05/0.1699, allocations: 28.84 kB / 0.6954 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000727/0.1706, allocations: 453.5 kB / 0.6958 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.1707, allocations: 42.55 kB / 0.6959 GB, free: 1.508 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1707, allocations: 0 / 0.6959 GB, free: 1.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001274/0.172, allocations: 0.5873 MB / 0.6964 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.172, allocations: 55.41 kB / 0.6965 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.862e-05/0.1721, allocations: 101.8 kB / 0.6966 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1721, allocations: 33.64 kB / 0.6966 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.1722, allocations: 80.14 kB / 0.6967 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.1722, allocations: 43.44 kB / 0.6967 GB, free: 500 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.1723, allocations: 25.7 kB / 0.6968 GB, free: 468 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1724, allocations: 314.8 kB / 0.6971 GB, free: 144 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.332e-05/0.1725, allocations: 19.98 kB / 0.6971 GB, free: 124 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.164e-05/0.1725, allocations: 30.75 kB / 0.6971 GB, free: 96 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1726, allocations: 64.84 kB / 0.6972 GB, free: 28 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1726, allocations: 0 / 0.6972 GB, free: 28 kB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001725/0.1728, allocations: 93.61 kB / 0.6973 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1728, allocations: 8 kB / 0.6973 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1729, allocations: 0.5469 kB / 0.6973 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1729, allocations: 0 / 0.6973 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.173, allocations: 23.92 kB / 0.6973 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.173, allocations: 0 / 0.6973 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/0.173, allocations: 8 kB / 0.6973 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.173, allocations: 0 / 0.6973 GB, free: 15.89 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.15e-05/0.1731, allocations: 117.8 kB / 0.6974 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.1732, allocations: 15.83 kB / 0.6974 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.1734, allocations: 117.6 kB / 0.6975 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1734, allocations: 4 kB / 0.6976 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1734, allocations: 0 / 0.6976 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1734, allocations: 0 / 0.6976 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004133/0.1738, allocations: 350.5 kB / 0.6979 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1738, allocations: 4 kB / 0.6979 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.1739, allocations: 23.92 kB / 0.6979 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1739, allocations: 0 / 0.6979 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.174, allocations: 8 kB / 0.6979 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.174, allocations: 0 / 0.6979 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.174, allocations: 0 / 0.6979 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.1743, allocations: 215.4 kB / 0.6981 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/0.1743, allocations: 89.06 kB / 0.6982 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.1744, allocations: 12.06 kB / 0.6982 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.1744, allocations: 0 / 0.6982 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.1745, allocations: 11.92 kB / 0.6982 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.1745, allocations: 4 kB / 0.6982 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.191e-05/0.1745, allocations: 79.28 kB / 0.6983 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1745, allocations: 0 / 0.6983 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002749/0.1748, allocations: 51.98 kB / 0.6984 GB, free: 14.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002357/0.1751, allocations: 139.1 kB / 0.6985 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.1752, allocations: 71.86 kB / 0.6986 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1752, allocations: 0 / 0.6986 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.191e-05/0.1753, allocations: 27.98 kB / 0.6986 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.1755, allocations: 12.88 kB / 0.6986 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.1759, allocations: 197.6 kB / 0.6988 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1762, allocations: 0.6885 MB / 0.6995 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.176e-05/0.1762, allocations: 11.92 kB / 0.6995 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.1763, allocations: 11.44 kB / 0.6995 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1763, allocations: 4 kB / 0.6995 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of Templates: time 0.00399/0.1803, allocations: 1.411 MB / 0.7009 GB, free: 12.11 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)