Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001343/0.001343, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001561/0.001561, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 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 0.9981/0.9981, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7931/0.7931, allocations: 154.9 MB / 414.8 MB, free: 392 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5207 GB, free: 1.766 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.38e-05, allocations: 4.906 kB / 0.5208 GB, free: 1.762 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001369/0.001393, allocations: 0.5994 MB / 0.5213 GB, free: 1.188 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003837/0.00523, allocations: 302.1 kB / 0.5216 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.544e-05/0.005245, allocations: 4.75 kB / 0.5216 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.005262, allocations: 0 / 0.5216 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.521e-06/0.005268, allocations: 0.7188 kB / 0.5216 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.005664, allocations: 104.5 kB / 0.5217 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.313e-05/0.005707, allocations: 5.438 kB / 0.5217 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.047e-05/0.005738, allocations: 0 / 0.5217 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.189e-05/0.00576, allocations: 3.984 kB / 0.5217 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.98e-05/0.00578, allocations: 0.7812 kB / 0.5217 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.00579, allocations: 0 / 0.5217 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.006128, allocations: 255.7 kB / 0.522 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.006142, allocations: 4.766 kB / 0.522 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.443e-05/0.006157, allocations: 3.938 kB / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.006332, allocations: 122.8 kB / 0.5221 GB, free: 416 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.006335, allocations: 0 / 0.5221 GB, free: 416 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.006336, allocations: 0 / 0.5221 GB, free: 416 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.00634, allocations: 0 / 0.5221 GB, free: 416 kB / 490.7 MB 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.0002901/0.00663, allocations: 360.2 kB / 0.5225 GB, free: 16 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.006668, allocations: 8.031 kB / 0.5225 GB, free: 8 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.348e-05/0.006742, allocations: 0.9375 kB / 0.5225 GB, free: 8 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8e-05/0.006822, allocations: 108.6 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.006831, allocations: 0.875 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.006838, allocations: 1.219 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.174e-05/0.00691, allocations: 34.25 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.006917, allocations: 0.9375 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.006924, allocations: 4.375 kB / 0.5226 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.006931, allocations: 1.344 kB / 0.5226 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.284e-05/0.006943, allocations: 7.875 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.989e-05/0.007043, allocations: 108.6 kB / 0.5227 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.886e-05/0.007082, allocations: 24.03 kB / 0.5227 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/0.007099, allocations: 11.69 kB / 0.5227 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/0.007364, allocations: 45.77 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.007387, allocations: 37.89 kB / 0.5228 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.007388, allocations: 5.031 kB / 0.5228 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001218/0.00751, allocations: 37.64 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.007537, allocations: 52.62 kB / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.369e-05/0.007581, allocations: 142.2 kB / 0.5231 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.00759, allocations: 25.7 kB / 0.5231 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.00762, allocations: 127.5 kB / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.007643, allocations: 7.938 kB / 0.5232 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.007668, allocations: 17 kB / 0.5232 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003825/0.00805, allocations: 0.4922 MB / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.605e-06/0.008058, allocations: 4 kB / 0.5237 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5e-06/0.008063, allocations: 0 / 0.5237 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.483e-05/0.008088, allocations: 12.72 kB / 0.5237 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.008089, allocations: 0 / 0.5237 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.395e-05/0.008143, allocations: 34.86 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.008155, allocations: 7.406 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.008159, allocations: 4 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.00817, allocations: 3.984 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.381e-05/0.008204, allocations: 0 / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.00821, allocations: 4.766 kB / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.051e-05/0.00822, allocations: 7.922 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.008225, allocations: 4.531 kB / 0.5238 GB, free: 14.5 MB / 0.4948 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 0.006074/0.0143, allocations: 153.5 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.01432, allocations: 7.953 kB / 0.5239 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.986e-05/0.01439, allocations: 45.73 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.01439, allocations: 0.8438 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01439, allocations: 0 / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.0144, allocations: 3.984 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.013e-05/0.01446, allocations: 110.2 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01446, allocations: 0 / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-06/0.01447, allocations: 4 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01447, allocations: 0 / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.01447, allocations: 1.375 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.01448, allocations: 0 / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01448, allocations: 0 / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.813e-05/0.01454, allocations: 79.12 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-06/0.01455, allocations: 0 / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-06/0.01455, allocations: 4 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.16e-06/0.01456, allocations: 0 / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.01457, allocations: 3.938 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.01457, allocations: 0 / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.02e-05/0.0146, allocations: 119.2 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.0146, allocations: 0 / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001843/0.01479, allocations: 22.16 kB / 0.5243 GB, free: 13.89 MB / 0.4948 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.0001288/0.01492, allocations: 119.1 kB / 0.5244 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.636e-05/0.01497, allocations: 15.69 kB / 0.5244 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.01498, allocations: 0 / 0.5244 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.221e-06/0.01498, allocations: 8.469 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.01509, allocations: 4.875 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001499/0.01524, allocations: 87.92 kB / 0.5245 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.752e-05/0.01527, allocations: 52.23 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.365e-05/0.01529, allocations: 12.59 kB / 0.5246 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.219e-05/0.0153, allocations: 8.5 kB / 0.5246 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.0153, allocations: 3.438 kB / 0.5246 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of Templates: time 0.005038/0.02034, allocations: 0.5169 MB / 0.5251 GB, free: 13.02 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7593858088366687]