Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001314/0.001314, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00155/0.00155, allocations: 219.2 kB / 23.01 MB, free: 4.605 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.8417/0.8417, allocations: 134 MB / 447.2 MB, free: 10.26 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.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.002123/0.002123, allocations: 65.06 kB / 0.6198 GB, free: 6.734 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1643, allocations: 85.91 MB / 0.7037 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.00278/0.1671, allocations: 1.47 MB / 0.7051 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007883/0.1679, allocations: 383.5 kB / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.168, allocations: 0 / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.168, allocations: 3.938 kB / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.5e-05/0.168, allocations: 7.938 kB / 0.7055 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.1685, allocations: 115.7 kB / 0.7056 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.372e-05/0.1686, allocations: 27.86 kB / 0.7056 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.566e-05/0.1687, allocations: 11.92 kB / 0.7056 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.37e-05/0.1687, allocations: 8 kB / 0.7056 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.113e-05/0.1688, allocations: 15.92 kB / 0.7057 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.1688, allocations: 0 / 0.7057 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.1692, allocations: 279.6 kB / 0.7059 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.1692, allocations: 4 kB / 0.7059 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.1692, allocations: 11.92 kB / 0.7059 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.1695, allocations: 107.7 kB / 0.706 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1695, allocations: 0 / 0.706 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1695, allocations: 0 / 0.706 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1695, allocations: 0 / 0.706 GB, free: 14.46 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004878/0.17, allocations: 297.9 kB / 0.7063 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.17, allocations: 12.03 kB / 0.7063 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.17, allocations: 0.9375 kB / 0.7063 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1702, allocations: 110.5 kB / 0.7064 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1702, allocations: 384 / 0.7064 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.1702, allocations: 4.375 kB / 0.7064 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.1704, allocations: 58.16 kB / 0.7065 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1704, allocations: 192 / 0.7065 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1704, allocations: 3.938 kB / 0.7065 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.1704, allocations: 4 kB / 0.7065 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.1706, allocations: 31.95 kB / 0.7065 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.1709, allocations: 232 kB / 0.7068 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.171, allocations: 42.44 kB / 0.7068 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.927e-05/0.1711, allocations: 24.89 kB / 0.7068 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005425/0.1717, allocations: 75.92 kB / 0.7069 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.1717, allocations: 30.56 kB / 0.7069 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1717, allocations: 0 / 0.7069 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003861/0.1721, allocations: 89.67 kB / 0.707 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.1721, allocations: 51.41 kB / 0.7071 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.804e-05/0.1722, allocations: 109.8 kB / 0.7072 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1722, allocations: 25.7 kB / 0.7072 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.1723, allocations: 84.14 kB / 0.7073 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.1723, allocations: 7.953 kB / 0.7073 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.1723, allocations: 13.72 kB / 0.7073 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1725, allocations: 318.8 kB / 0.7076 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.253e-05/0.1726, allocations: 20.02 kB / 0.7076 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.948e-05/0.1726, allocations: 11.98 kB / 0.7076 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.1728, allocations: 40.81 kB / 0.7077 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1728, allocations: 0 / 0.7077 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002504/0.173, allocations: 77.61 kB / 0.7077 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1731, allocations: 10.19 kB / 0.7078 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1731, allocations: 0 / 0.7078 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1731, allocations: 0 / 0.7078 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.258e-05/0.1732, allocations: 7.984 kB / 0.7078 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.1732, allocations: 0 / 0.7078 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.981e-05/0.1732, allocations: 15.88 kB / 0.7078 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.1732, allocations: 4 kB / 0.7078 GB, free: 12.5 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 (2): * Single equations (assignments): 2 * 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.998e-05/0.1733, allocations: 113.8 kB / 0.7079 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.1734, allocations: 4 kB / 0.7079 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.1736, allocations: 69.28 kB / 0.708 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1736, allocations: 3.938 kB / 0.708 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1736, allocations: 7.938 kB / 0.708 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1736, allocations: 7.922 kB / 0.708 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.1738, allocations: 128.7 kB / 0.7081 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1738, allocations: 0 / 0.7081 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.337e-05/0.1738, allocations: 20.02 kB / 0.7081 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1738, allocations: 0 / 0.7081 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1739, allocations: 0 / 0.7081 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1739, allocations: 0 / 0.7081 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1739, allocations: 0 / 0.7081 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.1741, allocations: 159.5 kB / 0.7083 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.1741, allocations: 15.98 kB / 0.7083 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.1741, allocations: 256 / 0.7083 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.1742, allocations: 11.98 kB / 0.7083 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.1743, allocations: 0 / 0.7083 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.1743, allocations: 4 kB / 0.7083 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.28e-05/0.1743, allocations: 87.27 kB / 0.7084 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1743, allocations: 0 / 0.7084 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002457/0.1746, allocations: 15.94 kB / 0.7084 GB, free: 11.79 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 (2): * Single equations (assignments): 2 * 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.0001736/0.1747, allocations: 107.2 kB / 0.7085 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.175, allocations: 35.95 kB / 0.7085 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.175, allocations: 0 / 0.7085 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.796e-05/0.1751, allocations: 19.98 kB / 0.7086 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.1753, allocations: 7.938 kB / 0.7086 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003177/0.1757, allocations: 131.5 kB / 0.7087 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.176, allocations: 0.6883 MB / 0.7094 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.176, allocations: 7.438 kB / 0.7094 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of SimCode: time 3.6e-07/0.176, allocations: 0 / 0.7094 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of Templates: time 0.002327/0.1783, allocations: 0.7048 MB / 0.7101 GB, free: 10.02 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.84866619692184] Failed to read output from testmodel.py, exit status != 0: 0.18662598985247314 0.20348498599999995 0.03059206 Calling exit ...