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.001311/0.001311, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001402/0.001402, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.388/1.388, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.7948/0.7948, allocations: 101.3 MB / 361.1 MB, free: 8.797 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.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.002097/0.002097, allocations: 67.53 kB / 0.5356 GB, free: 12.69 MB / 462.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.142/0.1441, allocations: 85.88 MB / 0.6195 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002747/0.1468, allocations: 1.449 MB / 0.6209 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000714/0.1475, allocations: 353 kB / 0.6212 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.275e-05/0.1476, allocations: 4 kB / 0.6212 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.708e-05/0.1476, allocations: 3.938 kB / 0.6212 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.924e-05/0.1476, allocations: 3.938 kB / 0.6213 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.1481, allocations: 115.6 kB / 0.6214 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.057e-05/0.1482, allocations: 31.91 kB / 0.6214 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.585e-05/0.1482, allocations: 0 / 0.6214 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.139e-05/0.1483, allocations: 15.92 kB / 0.6214 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.572e-05/0.1483, allocations: 15.98 kB / 0.6214 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.1483, allocations: 4 kB / 0.6214 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.1487, allocations: 255.7 kB / 0.6217 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.1487, allocations: 7.938 kB / 0.6217 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.1488, allocations: 11.94 kB / 0.6217 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.149, allocations: 103.8 kB / 0.6218 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.149, allocations: 0 / 0.6218 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.112e-06/0.149, allocations: 3.938 kB / 0.6218 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.149, allocations: 0 / 0.6218 GB, free: 4.402 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.0004579/0.1494, allocations: 290 kB / 0.6221 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.1495, allocations: 15.97 kB / 0.6221 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.1495, allocations: 8.922 kB / 0.6221 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1496, allocations: 114.5 kB / 0.6222 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1496, allocations: 384 / 0.6222 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.1497, allocations: 384 / 0.6222 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.1498, allocations: 50.23 kB / 0.6223 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.1498, allocations: 192 / 0.6223 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1499, allocations: 3.938 kB / 0.6223 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1499, allocations: 0 / 0.6223 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.15, allocations: 35.97 kB / 0.6223 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.1503, allocations: 204.6 kB / 0.6225 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.1505, allocations: 38.5 kB / 0.6225 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.158e-05/0.1506, allocations: 20.89 kB / 0.6225 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005272/0.1511, allocations: 83.86 kB / 0.6226 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.1511, allocations: 30.56 kB / 0.6227 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1511, allocations: 0 / 0.6227 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003848/0.1515, allocations: 81.64 kB / 0.6227 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.1516, allocations: 59.47 kB / 0.6228 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.098e-05/0.1516, allocations: 105.8 kB / 0.6229 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1517, allocations: 25.7 kB / 0.6229 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.1517, allocations: 88.14 kB / 0.623 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.1517, allocations: 7.891 kB / 0.623 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.1518, allocations: 13.72 kB / 0.623 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1519, allocations: 318.8 kB / 0.6233 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.512e-05/0.152, allocations: 11.98 kB / 0.6233 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.837e-05/0.1521, allocations: 19.98 kB / 0.6234 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.1522, allocations: 40.89 kB / 0.6234 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1522, allocations: 0 / 0.6234 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000224/0.1525, allocations: 77.72 kB / 0.6235 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1525, allocations: 6.344 kB / 0.6235 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1525, allocations: 0 / 0.6235 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1525, allocations: 4 kB / 0.6235 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.1526, allocations: 16.02 kB / 0.6235 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.1526, allocations: 0 / 0.6235 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/0.1526, allocations: 15.94 kB / 0.6235 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1526, allocations: 0 / 0.6235 GB, free: 2.477 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.3e-05/0.1527, allocations: 110.9 kB / 0.6236 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.1528, allocations: 3.938 kB / 0.6236 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.153, allocations: 73.28 kB / 0.6237 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.153, allocations: 4.031 kB / 0.6237 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.153, allocations: 0 / 0.6237 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.153, allocations: 0 / 0.6237 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.1531, allocations: 113.2 kB / 0.6238 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1531, allocations: 3.938 kB / 0.6238 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.1532, allocations: 7.984 kB / 0.6238 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.1532, allocations: 7.938 kB / 0.6238 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.1532, allocations: 0 / 0.6238 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1532, allocations: 0 / 0.6238 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1532, allocations: 0 / 0.6238 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.1535, allocations: 163.5 kB / 0.624 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.1535, allocations: 11.89 kB / 0.624 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.1535, allocations: 0 / 0.624 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.1536, allocations: 7.984 kB / 0.624 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.1536, allocations: 0 / 0.624 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.1536, allocations: 0 / 0.624 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.205e-05/0.1537, allocations: 91.27 kB / 0.6241 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1537, allocations: 0 / 0.6241 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002439/0.1539, allocations: 12 kB / 0.6241 GB, free: 1.816 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.0001476/0.1541, allocations: 119.1 kB / 0.6242 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.1543, allocations: 35.95 kB / 0.6242 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1543, allocations: 0 / 0.6242 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.002e-05/0.1544, allocations: 19.98 kB / 0.6243 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.1546, allocations: 4 kB / 0.6243 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.1549, allocations: 121.5 kB / 0.6244 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.47e-05/0.155, allocations: 63.34 kB / 0.6244 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.196e-05/0.155, allocations: 8.125 kB / 0.6244 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.155, allocations: 12.5 kB / 0.6245 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/0.155, allocations: 0 / 0.6245 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of Templates: time 0.003103/0.1581, allocations: 0.7289 MB / 0.6252 GB, free: 0.6719 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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.993510266998783] Failed to read output from testmodel.py, exit status != 0: 0.1661362029844895 0.180703573 0.028670083000000002 Calling exit ...