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.0007754/0.0007754, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001215/0.001991, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008543/0.0008543, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009705/0.001825, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.005/1.005, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09274/1.098, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8058/0.8058, allocations: 155.4 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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 NFInstanceAPI.mkTop(): time 0.2946/1.1, allocations: 49.12 MB / 448.6 MB, free: 5.902 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.934e-06/1.934e-06, allocations: 0 / 450 MB, free: 4.523 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.676e-05/3.869e-05, allocations: 2.312 kB / 450 MB, free: 4.52 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00143/0.001468, allocations: 0.6578 MB / 450.7 MB, free: 3.895 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001564/0.001625, allocations: 89.98 kB / 450.8 MB, free: 3.809 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.476e-05/0.00164, allocations: 0 / 450.8 MB, free: 3.809 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.23e-06/0.001645, allocations: 0 / 450.8 MB, free: 3.809 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.662e-05/0.001671, allocations: 0.875 kB / 450.8 MB, free: 3.809 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001108/0.001782, allocations: 24.48 kB / 450.8 MB, free: 3.785 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.728e-05/0.00185, allocations: 8.531 kB / 450.8 MB, free: 3.777 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.827e-05/0.001908, allocations: 6.172 kB / 450.8 MB, free: 3.773 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.866e-05/0.001966, allocations: 4.984 kB / 450.8 MB, free: 3.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.827e-05/0.002065, allocations: 3.984 kB / 450.8 MB, free: 3.766 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.002084, allocations: 1.781 kB / 450.8 MB, free: 3.766 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.002186, allocations: 19.98 kB / 450.8 MB, free: 3.746 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.002206, allocations: 4.406 kB / 450.8 MB, free: 3.746 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.002231, allocations: 3.672 kB / 450.8 MB, free: 3.746 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.00236, allocations: 8.766 kB / 450.9 MB, free: 3.738 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.69e-05/0.002377, allocations: 0.7656 kB / 450.9 MB, free: 3.738 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.002379, allocations: 0 / 450.9 MB, free: 3.738 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.00239, allocations: 0 / 450.9 MB, free: 3.738 MB / 426.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.000343/0.002733, allocations: 220.7 kB / 451.1 MB, free: 3.496 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.002774, allocations: 8.031 kB / 451.1 MB, free: 3.484 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.002983, allocations: 99.28 kB / 451.2 MB, free: 3.371 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.069e-05/0.003064, allocations: 114.6 kB / 451.3 MB, free: 3.234 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.00308, allocations: 384 / 451.3 MB, free: 3.234 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.003092, allocations: 4.969 kB / 451.3 MB, free: 3.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.003194, allocations: 46.95 kB / 451.3 MB, free: 3.176 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.003203, allocations: 1.781 kB / 451.3 MB, free: 3.176 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.00321, allocations: 384 / 451.3 MB, free: 3.176 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.003217, allocations: 0.9844 kB / 451.3 MB, free: 3.176 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.551e-05/0.003243, allocations: 7.938 kB / 451.4 MB, free: 3.168 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.48e-05/0.003338, allocations: 62.84 kB / 451.4 MB, free: 3.094 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.321e-05/0.003421, allocations: 31.48 kB / 451.4 MB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.003439, allocations: 12.36 kB / 451.5 MB, free: 3.043 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.00345, allocations: 0.5312 kB / 451.5 MB, free: 3.043 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.003473, allocations: 37.59 kB / 451.5 MB, free: 3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.003473, allocations: 1.094 kB / 451.5 MB, free: 3 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001035/0.003577, allocations: 38.67 kB / 451.5 MB, free: 2.957 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.003608, allocations: 55.41 kB / 451.6 MB, free: 2.891 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.429e-05/0.003652, allocations: 89.86 kB / 451.7 MB, free: 2.793 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.003665, allocations: 29.7 kB / 451.7 MB, free: 2.758 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.91e-05/0.003684, allocations: 84.08 kB / 451.8 MB, free: 2.672 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.003716, allocations: 13.94 kB / 451.8 MB, free: 2.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.003748, allocations: 18.36 kB / 451.8 MB, free: 2.637 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.003873, allocations: 314.8 kB / 452.1 MB, free: 2.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.003888, allocations: 4.906 kB / 452.1 MB, free: 2.316 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.02e-05/0.003898, allocations: 4.656 kB / 452.1 MB, free: 2.312 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/0.003932, allocations: 16.41 kB / 452.1 MB, free: 2.297 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.003934, allocations: 0 / 452.1 MB, free: 2.297 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.547e-05/0.003989, allocations: 45.69 kB / 452.2 MB, free: 2.246 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.004001, allocations: 4 kB / 452.2 MB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.004005, allocations: 0 / 452.2 MB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.004017, allocations: 1.844 kB / 452.2 MB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.004193, allocations: 28.91 kB / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000824/0.005017, allocations: 1.196 MB / 453.4 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.005034, allocations: 0.875 kB / 453.4 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.005037, allocations: 3.938 kB / 453.4 MB, free: 0.9297 MB / 426.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 5.343e-05/0.005091, allocations: 110.6 kB / 453.5 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-06/0.005096, allocations: 1.156 kB / 453.5 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.098e-05/0.005107, allocations: 7.531 kB / 453.5 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.005109, allocations: 0 / 453.5 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.005111, allocations: 7.938 kB / 453.6 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.005113, allocations: 1.938 kB / 453.6 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.414e-05/0.005167, allocations: 65.89 kB / 453.6 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.00517, allocations: 5.094 kB / 453.6 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.005304, allocations: 28.81 kB / 453.7 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-06/0.005308, allocations: 5.469 kB / 453.7 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.005311, allocations: 0 / 453.7 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-06/0.005315, allocations: 0.6562 kB / 453.7 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006047/0.005919, allocations: 1.209 MB / 454.9 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.00592, allocations: 0 / 454.9 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.951e-05/0.00597, allocations: 61.78 kB / 454.9 MB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-06/0.005975, allocations: 0 / 454.9 MB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.506e-05/0.00599, allocations: 4.531 kB / 454.9 MB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.006006, allocations: 16.58 kB / 454.9 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.006009, allocations: 0.625 kB / 454.9 MB, free: 15.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.395e-06/0.006017, allocations: 5.484 kB / 455 MB, free: 15.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006017, allocations: 0 / 455 MB, free: 15.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001428/0.00616, allocations: 4.625 kB / 455 MB, free: 15.28 MB / 442.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 0.0001059/0.006266, allocations: 77.05 kB / 455 MB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.006443, allocations: 40.84 kB / 455.1 MB, free: 15.15 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.006449, allocations: 5.781 kB / 455.1 MB, free: 15.15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.006556, allocations: 33.11 kB / 455.1 MB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.76e-05/0.006624, allocations: 5.984 kB / 455.1 MB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002016/0.006825, allocations: 105.7 kB / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.502e-05/0.00685, allocations: 55.3 kB / 455.3 MB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.205e-05/0.006872, allocations: 6.062 kB / 455.3 MB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.006914, allocations: 56.38 kB / 455.3 MB, free: 14.85 MB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/0.006914, allocations: 0 / 455.3 MB, free: 14.85 MB / 442.7 MB Notification: Performance of Templates: time 0.002043/0.008958, allocations: 474.8 kB / 455.8 MB, free: 14.41 MB / 442.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.595531669445336]