Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 222.2 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8402/0.8402, allocations: 134 MB / 447.2 MB, free: 9.969 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 70.91 kB / 0.6197 GB, free: 6.352 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1711, allocations: 85.9 MB / 0.7036 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001782/0.1729, allocations: 0.5915 MB / 0.7042 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006347/0.1736, allocations: 287.3 kB / 0.7045 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.448e-05/0.1736, allocations: 4 kB / 0.7045 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.451e-05/0.1736, allocations: 0 / 0.7045 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.1e-06/0.1736, allocations: 0 / 0.7045 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.174, allocations: 99.22 kB / 0.7046 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.998e-05/0.174, allocations: 7.922 kB / 0.7046 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.742e-05/0.1741, allocations: 11.98 kB / 0.7046 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.158e-05/0.1741, allocations: 0 / 0.7046 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.753e-05/0.1741, allocations: 0 / 0.7046 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.767e-06/0.1741, allocations: 0 / 0.7046 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004268/0.1745, allocations: 259.7 kB / 0.7048 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.1746, allocations: 3.938 kB / 0.7049 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.364e-05/0.1746, allocations: 3.938 kB / 0.7049 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.1747, allocations: 91.72 kB / 0.7049 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1747, allocations: 0 / 0.7049 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1748, allocations: 0 / 0.7049 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.1748, allocations: 0 / 0.7049 GB, free: 15.2 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000326/0.1751, allocations: 262.2 kB / 0.7052 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1751, allocations: 8.031 kB / 0.7052 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.1752, allocations: 0.9375 kB / 0.7052 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.51e-05/0.1753, allocations: 102.5 kB / 0.7053 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1753, allocations: 8.375 kB / 0.7053 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.1753, allocations: 4.312 kB / 0.7053 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.666e-05/0.1754, allocations: 30.25 kB / 0.7053 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1754, allocations: 192 / 0.7053 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1754, allocations: 3.938 kB / 0.7053 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1754, allocations: 7.984 kB / 0.7054 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.573e-05/0.1754, allocations: 0 / 0.7054 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.1756, allocations: 101.3 kB / 0.7054 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.849e-05/0.1756, allocations: 18.61 kB / 0.7055 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.1756, allocations: 4.859 kB / 0.7055 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003303/0.1759, allocations: 48.02 kB / 0.7055 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.176, allocations: 30.56 kB / 0.7055 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.176, allocations: 0 / 0.7055 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001475/0.1761, allocations: 49.53 kB / 0.7056 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.1762, allocations: 51.41 kB / 0.7056 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.621e-05/0.1762, allocations: 89.98 kB / 0.7057 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1762, allocations: 29.7 kB / 0.7058 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.1763, allocations: 80.14 kB / 0.7058 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.1763, allocations: 0 / 0.7058 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.1763, allocations: 13.72 kB / 0.7058 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1765, allocations: 314.8 kB / 0.7061 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-06/0.1765, allocations: 0 / 0.7061 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.846e-06/0.1765, allocations: 4 kB / 0.7062 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.482e-05/0.1765, allocations: 8.859 kB / 0.7062 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1765, allocations: 0 / 0.7062 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.156e-05/0.1766, allocations: 41.7 kB / 0.7062 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1766, allocations: 4 kB / 0.7062 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1766, allocations: 0 / 0.7062 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1766, allocations: 0 / 0.7062 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.263e-05/0.1767, allocations: 11.92 kB / 0.7062 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.1767, allocations: 0 / 0.7062 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-06/0.1767, allocations: 0 / 0.7062 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.1767, allocations: 3.938 kB / 0.7062 GB, free: 13.72 MB / 0.5294 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 (1): * Single equations (assignments): 1 * 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 8.334e-05/0.1768, allocations: 109.8 kB / 0.7063 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.1768, allocations: 0 / 0.7063 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.764e-05/0.1769, allocations: 44.67 kB / 0.7064 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1769, allocations: 7.922 kB / 0.7064 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.1769, allocations: 4 kB / 0.7064 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1769, allocations: 3.938 kB / 0.7064 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.482e-05/0.177, allocations: 97.33 kB / 0.7065 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.177, allocations: 0 / 0.7065 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.076e-05/0.177, allocations: 0 / 0.7065 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.177, allocations: 4 kB / 0.7065 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.177, allocations: 0 / 0.7065 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.177, allocations: 0 / 0.7065 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.177, allocations: 7.969 kB / 0.7065 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.831e-05/0.1771, allocations: 65.12 kB / 0.7065 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-06/0.1771, allocations: 0 / 0.7065 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-06/0.1771, allocations: 0 / 0.7065 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-06/0.1771, allocations: 0 / 0.7065 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.1771, allocations: 3.938 kB / 0.7066 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.1771, allocations: 4 kB / 0.7066 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.476e-05/0.1772, allocations: 75.28 kB / 0.7066 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1772, allocations: 0 / 0.7066 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001976/0.1773, allocations: 11.94 kB / 0.7066 GB, free: 13.22 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001612/0.1775, allocations: 115.2 kB / 0.7067 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.829e-05/0.1776, allocations: 4 kB / 0.7068 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1776, allocations: 4 kB / 0.7068 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.541e-06/0.1776, allocations: 0 / 0.7068 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.1777, allocations: 0 / 0.7068 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001943/0.1779, allocations: 106.7 kB / 0.7069 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.719e-05/0.178, allocations: 59.22 kB / 0.7069 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.719e-05/0.178, allocations: 7.438 kB / 0.7069 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.178, allocations: 4.125 kB / 0.7069 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of Templates: time 0.00224/0.1802, allocations: 469.9 kB / 0.7074 GB, free: 12.41 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.392061362974346] Failed to read output from testmodel.py, exit status != 0: 0.18829381186515093 0.20337421500000002 0.02556432 Calling exit ...