Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.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.0008085/0.0008085, 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.0009536/0.0009536, allocations: 173 kB / 23.03 MB, free: 1.543 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 1.018/1.018, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.7759/0.7759, allocations: 154.9 MB / 414.8 MB, free: 408 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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5207 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.385e-05, allocations: 6.922 kB / 0.5207 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001269/0.001293, allocations: 0.6147 MB / 0.5213 GB, free: 88 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000254/0.001547, allocations: 92.59 kB / 0.5214 GB, free: 15.99 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.684e-05/0.001564, allocations: 0 / 0.5214 GB, free: 15.99 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.001583, allocations: 0 / 0.5214 GB, free: 15.99 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.531e-05/0.001628, allocations: 0.5938 kB / 0.5214 GB, free: 15.99 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.001841, allocations: 16.33 kB / 0.5214 GB, free: 15.98 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.387e-05/0.001895, allocations: 12.64 kB / 0.5215 GB, free: 15.97 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.364e-05/0.001929, allocations: 1.969 kB / 0.5215 GB, free: 15.97 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.209e-05/0.001961, allocations: 7.984 kB / 0.5215 GB, free: 15.96 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.969e-05/0.002031, allocations: 4.594 kB / 0.5215 GB, free: 15.96 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.002046, allocations: 0 / 0.5215 GB, free: 15.96 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.885e-05/0.002105, allocations: 16.48 kB / 0.5215 GB, free: 15.94 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.002118, allocations: 0 / 0.5215 GB, free: 15.94 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.002136, allocations: 8.828 kB / 0.5215 GB, free: 15.93 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 9.64e-05/0.002233, allocations: 15.92 kB / 0.5215 GB, free: 15.92 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.002235, allocations: 0.9688 kB / 0.5215 GB, free: 15.92 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.002236, allocations: 0 / 0.5215 GB, free: 15.92 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.002241, allocations: 0 / 0.5215 GB, free: 15.92 MB / 458.7 MB 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.0003037/0.002544, allocations: 346.1 kB / 0.5218 GB, free: 15.54 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.002582, allocations: 8.031 kB / 0.5219 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.002714, allocations: 12.92 kB / 0.5219 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.134e-05/0.002776, allocations: 109.2 kB / 0.522 GB, free: 15.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.002794, allocations: 4.312 kB / 0.522 GB, free: 15.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.002803, allocations: 4.875 kB / 0.522 GB, free: 15.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.002907, allocations: 47.98 kB / 0.522 GB, free: 15.33 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.002914, allocations: 192 / 0.522 GB, free: 15.33 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.002922, allocations: 384 / 0.522 GB, free: 15.33 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.002929, allocations: 1.312 kB / 0.522 GB, free: 15.33 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.979e-05/0.002959, allocations: 15.92 kB / 0.522 GB, free: 15.31 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001144/0.003073, allocations: 113.2 kB / 0.5221 GB, free: 15.17 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.003173, allocations: 44.19 kB / 0.5222 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.003194, allocations: 15.78 kB / 0.5222 GB, free: 15.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.003207, allocations: 0 / 0.5222 GB, free: 15.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.003228, allocations: 42.05 kB / 0.5222 GB, free: 15.04 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 7.02e-07/0.003228, allocations: 0 / 0.5222 GB, free: 15.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001292/0.003357, allocations: 47.28 kB / 0.5223 GB, free: 14.99 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.003386, allocations: 55.41 kB / 0.5223 GB, free: 14.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.644e-05/0.003422, allocations: 142.2 kB / 0.5225 GB, free: 14.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.003432, allocations: 25.7 kB / 0.5225 GB, free: 14.74 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.003459, allocations: 132.3 kB / 0.5226 GB, free: 14.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.003487, allocations: 8.297 kB / 0.5226 GB, free: 14.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.003514, allocations: 23.36 kB / 0.5227 GB, free: 14.57 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.003621, allocations: 0.4883 MB / 0.5231 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.003638, allocations: 192 / 0.5231 GB, free: 14.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.096e-05/0.003649, allocations: 8.734 kB / 0.5231 GB, free: 14.06 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.956e-05/0.003688, allocations: 23.67 kB / 0.5232 GB, free: 14.04 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.00369, allocations: 1.125 kB / 0.5232 GB, free: 14.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.512e-05/0.003746, allocations: 45.66 kB / 0.5232 GB, free: 13.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.003757, allocations: 4 kB / 0.5232 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.003762, allocations: 5.141 kB / 0.5232 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.003774, allocations: 0 / 0.5232 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.003934, allocations: 26.3 kB / 0.5232 GB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008653/0.004799, allocations: 1.799 MB / 0.525 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.616e-05/0.004816, allocations: 8 kB / 0.525 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.004821, allocations: 7.922 kB / 0.525 GB, free: 12.02 MB / 458.7 MB 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.306e-05/0.004884, allocations: 154.1 kB / 0.5252 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.004892, allocations: 7.938 kB / 0.5252 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.857e-06/0.0049, allocations: 8.656 kB / 0.5252 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.004901, allocations: 0 / 0.5252 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.004903, allocations: 0 / 0.5252 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.004905, allocations: 0 / 0.5252 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.137e-05/0.004957, allocations: 109.3 kB / 0.5253 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.004958, allocations: 0 / 0.5253 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.005081, allocations: 29.88 kB / 0.5253 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.005084, allocations: 1.297 kB / 0.5253 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.005093, allocations: 7.922 kB / 0.5253 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000725/0.005818, allocations: 1.801 MB / 0.5271 GB, free: 9.746 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.005819, allocations: 0 / 0.5271 GB, free: 9.746 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.00601, allocations: 84.38 kB / 0.5272 GB, free: 9.641 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-06/0.006014, allocations: 7.875 kB / 0.5272 GB, free: 9.633 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-06/0.006018, allocations: 0 / 0.5272 GB, free: 9.633 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-06/0.006027, allocations: 3.031 kB / 0.5272 GB, free: 9.633 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.00605, allocations: 11.92 kB / 0.5272 GB, free: 9.621 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.006053, allocations: 4 kB / 0.5272 GB, free: 9.617 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.438e-05/0.006078, allocations: 119.2 kB / 0.5273 GB, free: 9.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006078, allocations: 0 / 0.5273 GB, free: 9.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001291/0.006207, allocations: 4 kB / 0.5273 GB, free: 9.496 MB / 458.7 MB 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.707e-05/0.006284, allocations: 96.75 kB / 0.5274 GB, free: 9.391 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.006468, allocations: 35.66 kB / 0.5274 GB, free: 9.352 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.00647, allocations: 11.16 kB / 0.5274 GB, free: 9.344 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.174e-05/0.006562, allocations: 35.88 kB / 0.5275 GB, free: 9.301 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/0.006664, allocations: 11.94 kB / 0.5275 GB, free: 9.289 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002123/0.006877, allocations: 102.1 kB / 0.5276 GB, free: 9.164 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.827e-05/0.006905, allocations: 51.36 kB / 0.5276 GB, free: 9.094 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.283e-05/0.006928, allocations: 6.656 kB / 0.5276 GB, free: 9.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.006956, allocations: 12.5 kB / 0.5277 GB, free: 9.078 MB / 458.7 MB Notification: Performance of SimCode: time 1.152e-06/0.006957, allocations: 0 / 0.5277 GB, free: 9.078 MB / 458.7 MB Notification: Performance of Templates: time 0.002134/0.009092, allocations: 495.7 kB / 0.5281 GB, free: 8.621 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6529833432286978]