Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.001397/0.001397, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001615/0.001615, allocations: 215.6 kB / 22.99 MB, free: 4.945 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.8259/0.8259, allocations: 134 MB / 447.2 MB, free: 9.902 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [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.002057/0.002057, allocations: 69.97 kB / 0.6197 GB, free: 6.336 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1557, allocations: 85.91 MB / 0.7036 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001706/0.1575, allocations: 0.5981 MB / 0.7042 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006742/0.1581, allocations: 311.2 kB / 0.7045 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.1582, allocations: 0 / 0.7045 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.1582, allocations: 0 / 0.7045 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.548e-05/0.1582, allocations: 0 / 0.7045 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.1586, allocations: 119.1 kB / 0.7046 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.734e-05/0.1586, allocations: 11.98 kB / 0.7046 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.1587, allocations: 4 kB / 0.7046 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.327e-05/0.1587, allocations: 0 / 0.7046 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.457e-05/0.1588, allocations: 4 kB / 0.7047 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.1588, allocations: 3.938 kB / 0.7047 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004015/0.1592, allocations: 259.6 kB / 0.7049 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.1592, allocations: 3.984 kB / 0.7049 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.713e-05/0.1592, allocations: 4 kB / 0.7049 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.1594, allocations: 91.73 kB / 0.705 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1594, allocations: 3.938 kB / 0.705 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1594, allocations: 0 / 0.705 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.1594, allocations: 4 kB / 0.705 GB, free: 15.12 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003626/0.1597, allocations: 266.2 kB / 0.7053 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.1598, allocations: 8.031 kB / 0.7053 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.1598, allocations: 4.938 kB / 0.7053 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.1599, allocations: 110.5 kB / 0.7054 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.16, allocations: 384 / 0.7054 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.16, allocations: 4.375 kB / 0.7054 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.1601, allocations: 63.91 kB / 0.7054 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1601, allocations: 192 / 0.7054 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1601, allocations: 7.875 kB / 0.7055 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.1601, allocations: 4 kB / 0.7055 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.356e-05/0.1601, allocations: 11.97 kB / 0.7055 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.1603, allocations: 97.33 kB / 0.7056 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.1e-05/0.1603, allocations: 22.61 kB / 0.7056 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.693e-05/0.1604, allocations: 4.859 kB / 0.7056 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000528/0.1609, allocations: 91.89 kB / 0.7057 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.1609, allocations: 30.56 kB / 0.7057 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1609, allocations: 0 / 0.7057 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004805/0.1614, allocations: 181.2 kB / 0.7059 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.1614, allocations: 51.41 kB / 0.7059 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.409e-05/0.1615, allocations: 97.86 kB / 0.706 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1615, allocations: 30.05 kB / 0.706 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.1616, allocations: 80.14 kB / 0.7061 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.1616, allocations: 15.89 kB / 0.7061 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.1616, allocations: 13.72 kB / 0.7061 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1618, allocations: 322.8 kB / 0.7065 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.1618, allocations: 0 / 0.7065 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.973e-05/0.1618, allocations: 21.7 kB / 0.7065 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.941e-05/0.1619, allocations: 25.66 kB / 0.7065 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1619, allocations: 3.938 kB / 0.7065 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001109/0.162, allocations: 57.69 kB / 0.7066 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.162, allocations: 10.34 kB / 0.7066 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.162, allocations: 0 / 0.7066 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.162, allocations: 3.938 kB / 0.7066 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.872e-05/0.1621, allocations: 11.94 kB / 0.7066 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1621, allocations: 0 / 0.7066 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.1621, allocations: 0 / 0.7066 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1621, allocations: 0 / 0.7066 GB, free: 13.29 MB / 0.5294 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.899e-05/0.1622, allocations: 109.8 kB / 0.7067 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.1622, allocations: 3.984 kB / 0.7067 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.1624, allocations: 61.38 kB / 0.7068 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1624, allocations: 4 kB / 0.7068 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.1624, allocations: 4 kB / 0.7068 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1624, allocations: 0 / 0.7068 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.958e-05/0.1625, allocations: 105.2 kB / 0.7069 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1625, allocations: 0 / 0.7069 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.1625, allocations: 4 kB / 0.7069 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1625, allocations: 0 / 0.7069 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.1625, allocations: 4 kB / 0.7069 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.1625, allocations: 11.94 kB / 0.7069 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1625, allocations: 0 / 0.7069 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.1627, allocations: 73.06 kB / 0.707 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.1627, allocations: 11.94 kB / 0.707 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.1627, allocations: 4.031 kB / 0.707 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.891e-05/0.1627, allocations: 3.938 kB / 0.707 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.1628, allocations: 0 / 0.707 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1628, allocations: 4.234 kB / 0.707 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.903e-05/0.1628, allocations: 75.28 kB / 0.707 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5e-08/0.1628, allocations: 0 / 0.707 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002129/0.163, allocations: 36.02 kB / 0.7071 GB, free: 12.71 MB / 0.5294 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.0002088/0.1632, allocations: 123.2 kB / 0.7072 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.11e-05/0.1633, allocations: 8 kB / 0.7072 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1633, allocations: 0 / 0.7072 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.956e-05/0.1633, allocations: 19.92 kB / 0.7072 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.1635, allocations: 0 / 0.7072 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.1638, allocations: 147.2 kB / 0.7074 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.974e-05/0.1638, allocations: 59.22 kB / 0.7074 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.1638, allocations: 15.56 kB / 0.7074 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.1638, allocations: 0 / 0.7074 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of Templates: time 0.002554/0.1664, allocations: 0.7647 MB / 0.7082 GB, free: 11.52 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.4759805728681386] Failed to read output from testmodel.py, exit status != 0: 0.17407883889973164 0.18979983 0.027370306 Calling exit ...