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.001771/0.001771, allocations: 84.59 kB / 19.76 MB, free: 2.023 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.002071/0.002071, allocations: 158.8 kB / 23.01 MB, free: 4.961 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.408/1.408, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] 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.7928/0.7928, allocations: 101.3 MB / 361.1 MB, free: 9.547 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.002092/0.002092, allocations: 65.17 kB / 0.5357 GB, free: 5.184 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1399, allocations: 85.89 MB / 0.6195 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00162/0.1415, allocations: 0.5797 MB / 0.6201 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006027/0.1421, allocations: 291.4 kB / 0.6204 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.737e-05/0.1421, allocations: 0 / 0.6204 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.1421, allocations: 0 / 0.6204 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.999e-06/0.1422, allocations: 0 / 0.6204 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.1426, allocations: 107.7 kB / 0.6205 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.458e-05/0.1426, allocations: 0 / 0.6205 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.1426, allocations: 0 / 0.6205 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.413e-05/0.1426, allocations: 7.938 kB / 0.6205 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.777e-05/0.1427, allocations: 3.984 kB / 0.6205 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.744e-06/0.1427, allocations: 0 / 0.6205 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004162/0.1431, allocations: 259.6 kB / 0.6207 GB, free: 312 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.678e-06/0.1431, allocations: 4 kB / 0.6207 GB, free: 308 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.077e-05/0.1431, allocations: 0 / 0.6207 GB, free: 308 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.1433, allocations: 87.73 kB / 0.6208 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1433, allocations: 4 kB / 0.6208 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1433, allocations: 3.938 kB / 0.6208 GB, free: 212 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.1433, allocations: 0 / 0.6208 GB, free: 212 kB / 0.5137 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.0003212/0.1436, allocations: 258.2 kB / 0.6211 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.1436, allocations: 12.03 kB / 0.6211 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.1437, allocations: 0.9375 kB / 0.6211 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.008e-05/0.1438, allocations: 106.5 kB / 0.6212 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.1438, allocations: 384 / 0.6212 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.1438, allocations: 384 / 0.6212 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.255e-05/0.1438, allocations: 30.27 kB / 0.6212 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.1439, allocations: 8.188 kB / 0.6212 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.1439, allocations: 3.938 kB / 0.6212 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.1439, allocations: 3.938 kB / 0.6212 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.377e-05/0.1439, allocations: 7.984 kB / 0.6212 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.144, allocations: 97.33 kB / 0.6213 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.725e-05/0.1441, allocations: 22.55 kB / 0.6214 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.1441, allocations: 4.859 kB / 0.6214 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.1444, allocations: 44.03 kB / 0.6214 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.1444, allocations: 34.55 kB / 0.6214 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1444, allocations: 0 / 0.6214 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.1445, allocations: 37.59 kB / 0.6215 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.1446, allocations: 51.41 kB / 0.6215 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.593e-05/0.1446, allocations: 97.86 kB / 0.6216 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1447, allocations: 29.64 kB / 0.6216 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.1447, allocations: 80.14 kB / 0.6217 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.1447, allocations: 0 / 0.6217 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.1447, allocations: 17.84 kB / 0.6217 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1449, allocations: 310.8 kB / 0.622 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-06/0.1449, allocations: 0 / 0.622 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-06/0.1449, allocations: 3.984 kB / 0.622 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/0.1449, allocations: 12.86 kB / 0.6221 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1449, allocations: 0 / 0.6221 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.391e-05/0.145, allocations: 33.7 kB / 0.6221 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.145, allocations: 4 kB / 0.6221 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.145, allocations: 0 / 0.6221 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.145, allocations: 96 / 0.6221 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.743e-05/0.145, allocations: 15.88 kB / 0.6221 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.145, allocations: 0 / 0.6221 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.017e-06/0.1451, allocations: 0 / 0.6221 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.1451, allocations: 0 / 0.6221 GB, free: 14.73 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 7.111e-05/0.1451, allocations: 114.9 kB / 0.6222 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.1452, allocations: 4 kB / 0.6222 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.728e-05/0.1452, allocations: 36.7 kB / 0.6223 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1452, allocations: 7.875 kB / 0.6223 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1452, allocations: 0 / 0.6223 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-06/0.1452, allocations: 4.031 kB / 0.6223 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.378e-05/0.1453, allocations: 109.2 kB / 0.6224 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1453, allocations: 0 / 0.6224 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.116e-05/0.1453, allocations: 0 / 0.6224 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.1453, allocations: 0 / 0.6224 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-06/0.1453, allocations: 0 / 0.6224 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1453, allocations: 0 / 0.6224 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1453, allocations: 11.88 kB / 0.6224 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.07e-05/0.1454, allocations: 57.12 kB / 0.6224 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.1454, allocations: 8 kB / 0.6224 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-06/0.1454, allocations: 4.031 kB / 0.6224 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-06/0.1454, allocations: 0 / 0.6224 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.1455, allocations: 3.938 kB / 0.6224 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.1455, allocations: 0 / 0.6224 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.254e-05/0.1455, allocations: 79.28 kB / 0.6225 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1455, allocations: 0 / 0.6225 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001952/0.1457, allocations: 11.94 kB / 0.6225 GB, free: 14.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.0001424/0.1458, allocations: 107.2 kB / 0.6226 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 5.522e-05/0.1459, allocations: 7.938 kB / 0.6226 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1459, allocations: 4.062 kB / 0.6226 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.013e-05/0.1459, allocations: 8 kB / 0.6227 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.146, allocations: 2.5 kB / 0.6227 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001599/0.1462, allocations: 84.8 kB / 0.6227 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.259e-05/0.1462, allocations: 51.36 kB / 0.6228 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.256e-05/0.1462, allocations: 4 kB / 0.6228 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.273e-05/0.1463, allocations: 8.5 kB / 0.6228 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1463, allocations: 0 / 0.6228 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of Templates: time 0.002476/0.1487, allocations: 450.4 kB / 0.6232 GB, free: 13.46 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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.961057105916552] Failed to read output from testmodel.py, exit status != 0: 0.15557885798625648 0.17081289500000002 0.024504331 Calling exit ...