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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 105.1 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 199.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002668/0.002668, allocations: 277.8 kB / 302.9 MB, free: 9.516 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.225/1.225, allocations: 180.9 MB / 0.5261 GB, free: 14.69 MB / 382.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003078/0.003078, allocations: 107.3 kB / 0.7253 GB, free: 40.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1629, allocations: 94.16 MB / 0.8173 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001862/0.1648, allocations: 0.5977 MB / 0.8178 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000691/0.1655, allocations: 342.9 kB / 0.8182 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.205e-05/0.1655, allocations: 0 / 0.8182 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.387e-05/0.1655, allocations: 0 / 0.8182 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 1.874e-05/0.1655, allocations: 3.938 kB / 0.8182 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.166, allocations: 119.6 kB / 0.8183 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.2e-05/0.1661, allocations: 11.98 kB / 0.8183 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.1661, allocations: 4 kB / 0.8183 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.527e-05/0.1661, allocations: 0 / 0.8183 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.1662, allocations: 8 kB / 0.8183 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1662, allocations: 0 / 0.8183 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004053/0.1666, allocations: 275.6 kB / 0.8186 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.1666, allocations: 4 kB / 0.8186 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.1666, allocations: 11.92 kB / 0.8186 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.1668, allocations: 87.78 kB / 0.8187 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1668, allocations: 0 / 0.8187 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1668, allocations: 4 kB / 0.8187 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1668, allocations: 0 / 0.8187 GB, free: 3.43 MB / 0.5606 GB 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.0004032/0.1672, allocations: 351.2 kB / 0.819 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1673, allocations: 8.031 kB / 0.819 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.624e-05/0.1673, allocations: 8.875 kB / 0.819 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1674, allocations: 160.4 kB / 0.8192 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.1675, allocations: 384 / 0.8192 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.1675, allocations: 384 / 0.8192 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.707e-05/0.1676, allocations: 46.25 kB / 0.8192 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1676, allocations: 192 / 0.8192 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1676, allocations: 3.938 kB / 0.8192 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1676, allocations: 0 / 0.8192 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.943e-05/0.1676, allocations: 0 / 0.8192 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.1678, allocations: 153.7 kB / 0.8194 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.984e-05/0.1678, allocations: 22.55 kB / 0.8194 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.273e-05/0.1679, allocations: 12.91 kB / 0.8194 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007843/0.1686, allocations: 457.5 kB / 0.8198 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.1687, allocations: 34.56 kB / 0.8199 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.1687, allocations: 4 kB / 0.8199 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005252/0.1692, allocations: 254.2 kB / 0.8201 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1692, allocations: 51.41 kB / 0.8202 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/0.1693, allocations: 101.8 kB / 0.8203 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1693, allocations: 29.64 kB / 0.8203 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.1694, allocations: 80.48 kB / 0.8204 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.1694, allocations: 15.94 kB / 0.8204 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.1694, allocations: 17.72 kB / 0.8204 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.1696, allocations: 314.8 kB / 0.8207 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.1696, allocations: 8 kB / 0.8207 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.115e-05/0.1696, allocations: 21.69 kB / 0.8207 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.839e-05/0.1697, allocations: 21.72 kB / 0.8207 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1697, allocations: 4 kB / 0.8208 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001082/0.1698, allocations: 61.58 kB / 0.8208 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1698, allocations: 11.94 kB / 0.8208 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1698, allocations: 3.938 kB / 0.8208 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1698, allocations: 0 / 0.8208 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.842e-05/0.1699, allocations: 11.98 kB / 0.8208 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1699, allocations: 0 / 0.8208 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.729e-05/0.1699, allocations: 0 / 0.8208 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.1699, allocations: 4 kB / 0.8208 GB, free: 0.8281 MB / 0.5606 GB 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.213e-05/0.17, allocations: 113.9 kB / 0.821 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.17, allocations: 3.938 kB / 0.821 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.1702, allocations: 61.11 kB / 0.821 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1702, allocations: 7.984 kB / 0.821 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1702, allocations: 0 / 0.821 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1702, allocations: 0 / 0.821 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.1703, allocations: 153.7 kB / 0.8212 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1703, allocations: 0 / 0.8212 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.037e-05/0.1704, allocations: 8 kB / 0.8212 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1704, allocations: 3.938 kB / 0.8212 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.1704, allocations: 0 / 0.8212 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1704, allocations: 0 / 0.8212 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1704, allocations: 4 kB / 0.8212 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.1705, allocations: 77.06 kB / 0.8213 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.1706, allocations: 85.05 kB / 0.8213 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.1706, allocations: 3.938 kB / 0.8213 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.954e-05/0.1706, allocations: 8.094 kB / 0.8213 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.1706, allocations: 0 / 0.8213 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.1706, allocations: 0 / 0.8213 GB, free: 212 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.343e-05/0.1707, allocations: 79.28 kB / 0.8214 GB, free: 132 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1707, allocations: 3.938 kB / 0.8214 GB, free: 128 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002239/0.1709, allocations: 27.92 kB / 0.8215 GB, free: 100 kB / 0.5606 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.0002234/0.1711, allocations: 123.2 kB / 0.8216 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.416e-05/0.1712, allocations: 16.08 kB / 0.8216 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1712, allocations: 0 / 0.8216 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.52e-05/0.1712, allocations: 15.94 kB / 0.8216 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.1714, allocations: 2.062 kB / 0.8216 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.1716, allocations: 117.5 kB / 0.8217 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.172, allocations: 0.6767 MB / 0.8224 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.124e-05/0.172, allocations: 8.125 kB / 0.8224 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.172, allocations: 11.44 kB / 0.8224 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.172, allocations: 0 / 0.8224 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of Templates: time 0.003239/0.1753, allocations: 0.8822 MB / 0.8233 GB, free: 14.23 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.062718770466745]