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.001302/0.001302, allocations: 88.72 kB / 19.44 MB, free: 356 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.001623/0.001623, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.459/1.459, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.217/1.217, allocations: 154.8 MB / 414.3 MB, free: 500 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 178] 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.723e-06/1.723e-06, allocations: 0 / 0.5199 GB, free: 2.266 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.697e-05/3.869e-05, allocations: 6.688 kB / 0.5199 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001889/0.001928, allocations: 0.5922 MB / 0.5205 GB, free: 1.691 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000344/0.002272, allocations: 88.72 kB / 0.5206 GB, free: 1.605 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.002293, allocations: 0 / 0.5206 GB, free: 1.605 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.002313, allocations: 5.656 kB / 0.5206 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.276e-05/0.002375, allocations: 1.094 kB / 0.5206 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.002629, allocations: 19.97 kB / 0.5206 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.791e-05/0.002687, allocations: 4 kB / 0.5206 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.002732, allocations: 2 kB / 0.5206 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.314e-05/0.002776, allocations: 11.92 kB / 0.5206 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.35e-05/0.002869, allocations: 0 / 0.5206 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.002888, allocations: 4 kB / 0.5206 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.9e-05/0.002957, allocations: 12.73 kB / 0.5206 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.002979, allocations: 4 kB / 0.5206 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.003002, allocations: 5.453 kB / 0.5206 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.00312, allocations: 19.91 kB / 0.5207 GB, free: 1.523 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.003125, allocations: 7.938 kB / 0.5207 GB, free: 1.516 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.003126, allocations: 0 / 0.5207 GB, free: 1.516 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.003131, allocations: 1.344 kB / 0.5207 GB, free: 1.516 MB / 490.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.0004327/0.003564, allocations: 238.4 kB / 0.5209 GB, free: 1.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.003612, allocations: 16.02 kB / 0.5209 GB, free: 1.234 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.003808, allocations: 9.859 kB / 0.5209 GB, free: 1.227 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.003909, allocations: 105.8 kB / 0.521 GB, free: 1.098 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.003935, allocations: 7.344 kB / 0.521 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.003944, allocations: 384 / 0.521 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.004088, allocations: 38.25 kB / 0.5211 GB, free: 1.051 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.0041, allocations: 4.188 kB / 0.5211 GB, free: 1.047 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.004109, allocations: 384 / 0.5211 GB, free: 1.047 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.004114, allocations: 384 / 0.5211 GB, free: 1.047 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.308e-05/0.004207, allocations: 19.86 kB / 0.5211 GB, free: 1.027 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.004371, allocations: 101.8 kB / 0.5212 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.004563, allocations: 43.97 kB / 0.5212 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.004612, allocations: 12.92 kB / 0.5212 GB, free: 0.832 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.004629, allocations: 0.5312 kB / 0.5212 GB, free: 0.832 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.004665, allocations: 36.02 kB / 0.5213 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.004666, allocations: 4 kB / 0.5213 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.000235/0.004901, allocations: 53.62 kB / 0.5213 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.004954, allocations: 52.34 kB / 0.5214 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.812e-05/0.005012, allocations: 93.84 kB / 0.5215 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.005032, allocations: 27.11 kB / 0.5215 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.005076, allocations: 84.14 kB / 0.5216 GB, free: 456 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.005108, allocations: 7.906 kB / 0.5216 GB, free: 448 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.00514, allocations: 13.72 kB / 0.5216 GB, free: 428 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.005315, allocations: 319.9 kB / 0.5219 GB, free: 100 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.062e-05/0.005356, allocations: 7.984 kB / 0.5219 GB, free: 92 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.062e-05/0.005386, allocations: 4 kB / 0.5219 GB, free: 88 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.712e-05/0.005473, allocations: 25.59 kB / 0.5219 GB, free: 60 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.005475, allocations: 1.281 kB / 0.5219 GB, free: 60 kB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001199/0.005595, allocations: 49.95 kB / 0.522 GB, free: 4 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.005608, allocations: 4 kB / 0.522 GB, free: 0 / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.005633, allocations: 5.391 kB / 0.522 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.005652, allocations: 7.984 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.006055, allocations: 42.88 kB / 0.522 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.007716, allocations: 1.277 MB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.536e-05/0.007752, allocations: 8.609 kB / 0.5233 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.007757, allocations: 1.25 kB / 0.5233 GB, free: 14.56 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 (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 0.0001168/0.007874, allocations: 105.8 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.007888, allocations: 12.56 kB / 0.5234 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.336e-05/0.007902, allocations: 3.531 kB / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.007903, allocations: 0.5 kB / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.007904, allocations: 1.75 kB / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.007906, allocations: 0 / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.008013, allocations: 109.2 kB / 0.5235 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.008014, allocations: 0 / 0.5235 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003705/0.008385, allocations: 50.31 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.008386, allocations: 0 / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.008396, allocations: 10.38 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.009799, allocations: 1.28 MB / 0.5248 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.0098, allocations: 3.812 kB / 0.5248 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.009955, allocations: 85.02 kB / 0.5249 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-06/0.009961, allocations: 3.984 kB / 0.5249 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.175e-06/0.009969, allocations: 4 kB / 0.5249 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.654e-05/0.009996, allocations: 0 / 0.5249 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.01001, allocations: 0 / 0.5249 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.01002, allocations: 4 kB / 0.5249 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.01006, allocations: 75.28 kB / 0.525 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01006, allocations: 0 / 0.525 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002003/0.01026, allocations: 8 kB / 0.525 GB, free: 12.67 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 (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.000139/0.0104, allocations: 101.3 kB / 0.5251 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004772/0.01088, allocations: 61.42 kB / 0.5252 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01088, allocations: 0 / 0.5252 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.01113, allocations: 37.52 kB / 0.5252 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.01127, allocations: 3.938 kB / 0.5252 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.01164, allocations: 107 kB / 0.5253 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.708e-05/0.01171, allocations: 60.19 kB / 0.5254 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.961e-05/0.01174, allocations: 1.531 kB / 0.5254 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.01178, allocations: 12.5 kB / 0.5254 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.01178, allocations: 0 / 0.5254 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.002714/0.01449, allocations: 470.5 kB / 0.5258 GB, free: 11.8 MB / 0.4948 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.675121091073379]