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.00179/0.00179, allocations: 85.48 kB / 19.44 MB, free: 344 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.002016/0.002016, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.16 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.383/1.383, allocations: 154.8 MB / 414.4 MB, free: 352 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.603e-06/1.603e-06, allocations: 0 / 0.5199 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.131e-05, allocations: 5.266 kB / 0.5199 GB, free: 2.191 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001673/0.001705, allocations: 0.6067 MB / 0.5205 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002783/0.001983, allocations: 85.31 kB / 0.5206 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.623e-05/0.001999, allocations: 4 kB / 0.5206 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.178e-05/0.002011, allocations: 0 / 0.5206 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.906e-05/0.00206, allocations: 4.906 kB / 0.5206 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.002265, allocations: 15.97 kB / 0.5206 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.445e-05/0.00231, allocations: 8.953 kB / 0.5206 GB, free: 1.496 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.002346, allocations: 4 kB / 0.5206 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.356e-05/0.00238, allocations: 4 kB / 0.5206 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.07e-05/0.00245, allocations: 5 kB / 0.5206 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.002463, allocations: 0 / 0.5206 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.042e-05/0.002524, allocations: 12.95 kB / 0.5206 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.002538, allocations: 3.984 kB / 0.5206 GB, free: 1.469 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.348e-05/0.002551, allocations: 0 / 0.5206 GB, free: 1.469 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.002652, allocations: 29.38 kB / 0.5207 GB, free: 1.441 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.002654, allocations: 0 / 0.5207 GB, free: 1.441 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002655, allocations: 0 / 0.5207 GB, free: 1.441 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.002658, allocations: 3.938 kB / 0.5207 GB, free: 1.438 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.0005332/0.003192, allocations: 349 kB / 0.521 GB, free: 1.059 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.003227, allocations: 8.719 kB / 0.521 GB, free: 1.051 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.00338, allocations: 10.14 kB / 0.521 GB, free: 1.043 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.003483, allocations: 108.6 kB / 0.5211 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.003501, allocations: 384 / 0.5211 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.003508, allocations: 384 / 0.5211 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.003628, allocations: 38.88 kB / 0.5212 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.003637, allocations: 2 kB / 0.5212 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.003645, allocations: 4.375 kB / 0.5212 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.003649, allocations: 384 / 0.5212 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.363e-05/0.003723, allocations: 11.94 kB / 0.5212 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.003893, allocations: 116.6 kB / 0.5213 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.004067, allocations: 48.78 kB / 0.5213 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.325e-05/0.004111, allocations: 15.69 kB / 0.5214 GB, free: 0.625 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.004127, allocations: 0 / 0.5214 GB, free: 0.625 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.004157, allocations: 34.67 kB / 0.5214 GB, free: 0.582 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.004158, allocations: 0 / 0.5214 GB, free: 0.582 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002069/0.004365, allocations: 53.62 kB / 0.5214 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.004409, allocations: 52.03 kB / 0.5215 GB, free: 472 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.614e-05/0.004495, allocations: 147 kB / 0.5216 GB, free: 312 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.004515, allocations: 25.7 kB / 0.5217 GB, free: 280 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.004581, allocations: 128.3 kB / 0.5218 GB, free: 148 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.004621, allocations: 15.89 kB / 0.5218 GB, free: 132 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.00466, allocations: 19.38 kB / 0.5218 GB, free: 104 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002697/0.00493, allocations: 496.1 kB / 0.5223 GB, free: 15.61 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.731e-05/0.004977, allocations: 9.281 kB / 0.5223 GB, free: 15.6 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.005002, allocations: 7.984 kB / 0.5223 GB, free: 15.59 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.501e-05/0.005067, allocations: 19.69 kB / 0.5223 GB, free: 15.57 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005069, allocations: 3.594 kB / 0.5223 GB, free: 15.57 MB / 0.4949 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001076/0.005177, allocations: 57.88 kB / 0.5224 GB, free: 15.5 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.005189, allocations: 8 kB / 0.5224 GB, free: 15.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.005192, allocations: 0 / 0.5224 GB, free: 15.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.005205, allocations: 0 / 0.5224 GB, free: 15.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.005473, allocations: 23.97 kB / 0.5224 GB, free: 15.47 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.007129, allocations: 1.816 MB / 0.5242 GB, free: 13.54 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.007152, allocations: 2.188 kB / 0.5242 GB, free: 13.54 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.007157, allocations: 0 / 0.5242 GB, free: 13.54 MB / 0.4949 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.0001163/0.007274, allocations: 160.6 kB / 0.5243 GB, free: 13.37 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.007285, allocations: 3.938 kB / 0.5243 GB, free: 13.37 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.787e-05/0.007303, allocations: 7.531 kB / 0.5244 GB, free: 13.36 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.007304, allocations: 2.75 kB / 0.5244 GB, free: 13.36 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.007308, allocations: 8 kB / 0.5244 GB, free: 13.35 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.00731, allocations: 0 / 0.5244 GB, free: 13.35 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.007416, allocations: 112.6 kB / 0.5245 GB, free: 13.21 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.007419, allocations: 4 kB / 0.5245 GB, free: 13.2 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.007676, allocations: 29.44 kB / 0.5245 GB, free: 13.18 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007678, allocations: 0 / 0.5245 GB, free: 13.18 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.007687, allocations: 3.938 kB / 0.5245 GB, free: 13.17 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.009209, allocations: 1.813 MB / 0.5263 GB, free: 11.24 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.009214, allocations: 4 kB / 0.5263 GB, free: 11.23 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.009357, allocations: 90.98 kB / 0.5264 GB, free: 11.12 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.009367, allocations: 8 kB / 0.5264 GB, free: 11.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-06/0.009376, allocations: 3.984 kB / 0.5264 GB, free: 11.11 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.16e-05/0.009398, allocations: 0 / 0.5264 GB, free: 11.11 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.009418, allocations: 0 / 0.5264 GB, free: 11.11 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.009424, allocations: 4 kB / 0.5264 GB, free: 11.11 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 6.104e-05/0.009485, allocations: 119.2 kB / 0.5265 GB, free: 10.99 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6e-08/0.009486, allocations: 3.125 kB / 0.5265 GB, free: 10.99 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0001879/0.009673, allocations: 4 kB / 0.5265 GB, free: 10.99 MB / 0.4949 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.0001402/0.009814, allocations: 91.25 kB / 0.5266 GB, free: 10.89 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0003425/0.01016, allocations: 51.02 kB / 0.5266 GB, free: 10.84 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.01016, allocations: 0 / 0.5266 GB, free: 10.84 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.01036, allocations: 39.89 kB / 0.5267 GB, free: 10.79 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.0105, allocations: 13.33 kB / 0.5267 GB, free: 10.78 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.01081, allocations: 106.1 kB / 0.5268 GB, free: 10.65 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.765e-05/0.01087, allocations: 59.34 kB / 0.5268 GB, free: 10.57 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 2.796e-05/0.0109, allocations: 3.5 kB / 0.5269 GB, free: 10.57 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.01093, allocations: 12.5 kB / 0.5269 GB, free: 10.56 MB / 0.4949 GB Notification: Performance of SimCode: time 5.41e-07/0.01093, allocations: 0 / 0.5269 GB, free: 10.56 MB / 0.4949 GB Notification: Performance of Templates: time 0.003159/0.01409, allocations: 474.5 kB / 0.5273 GB, free: 10.11 MB / 0.4949 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.03252945409622]