Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001033/0.001033, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.00114/0.00114, allocations: 173 kB / 23.49 MB, free: 1.062 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.117/1.117, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7858/0.7858, allocations: 154.6 MB / 414.9 MB, free: 0.6484 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.945e-06/2.945e-06, allocations: 3.984 kB / 0.5204 GB, free: 2.441 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.818e-05, allocations: 3.219 kB / 0.5204 GB, free: 2.438 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001391/0.001419, allocations: 0.6136 MB / 0.521 GB, free: 1.848 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000235/0.001654, allocations: 88.59 kB / 0.5211 GB, free: 1.762 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.001672, allocations: 0 / 0.5211 GB, free: 1.762 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.001688, allocations: 0 / 0.5211 GB, free: 1.762 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.531e-05/0.001733, allocations: 0 / 0.5211 GB, free: 1.762 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.001942, allocations: 17.5 kB / 0.5211 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.764e-05/0.00199, allocations: 4.766 kB / 0.5211 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.791e-05/0.002028, allocations: 8.641 kB / 0.5211 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.146e-05/0.002059, allocations: 8.547 kB / 0.5211 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.855e-05/0.002138, allocations: 7.938 kB / 0.5211 GB, free: 1.719 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.002154, allocations: 4.719 kB / 0.5211 GB, free: 1.715 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.406e-05/0.002208, allocations: 7.984 kB / 0.5211 GB, free: 1.707 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.002222, allocations: 5.438 kB / 0.5211 GB, free: 1.703 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.597e-05/0.002238, allocations: 0 / 0.5211 GB, free: 1.703 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.96e-05/0.002327, allocations: 23.89 kB / 0.5212 GB, free: 1.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.00233, allocations: 0 / 0.5212 GB, free: 1.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.002331, allocations: 4.781 kB / 0.5212 GB, free: 1.676 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.002335, allocations: 0 / 0.5212 GB, free: 1.676 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.0003066/0.002641, allocations: 341.2 kB / 0.5215 GB, free: 1.305 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.002686, allocations: 19.14 kB / 0.5215 GB, free: 1.289 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.002852, allocations: 4.938 kB / 0.5215 GB, free: 1.285 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.36e-05/0.002926, allocations: 104.6 kB / 0.5216 GB, free: 1.156 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.002949, allocations: 4.375 kB / 0.5216 GB, free: 1.152 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.002958, allocations: 384 / 0.5216 GB, free: 1.152 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.003091, allocations: 50.95 kB / 0.5217 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.003099, allocations: 192 / 0.5217 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.003108, allocations: 384 / 0.5217 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.003117, allocations: 8.797 kB / 0.5217 GB, free: 1.086 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.648e-05/0.003153, allocations: 12.94 kB / 0.5217 GB, free: 1.074 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.003275, allocations: 108.6 kB / 0.5218 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.003375, allocations: 43.09 kB / 0.5218 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.003398, allocations: 16.28 kB / 0.5219 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.003411, allocations: 0.9688 kB / 0.5219 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.003435, allocations: 37.39 kB / 0.5219 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 2.043e-06/0.003437, allocations: 0.9688 kB / 0.5219 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001397/0.003576, allocations: 53.61 kB / 0.5219 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.003606, allocations: 55.39 kB / 0.522 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.509e-05/0.003641, allocations: 143.1 kB / 0.5221 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.218e-06/0.00365, allocations: 25.7 kB / 0.5222 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/0.003676, allocations: 127.9 kB / 0.5223 GB, free: 384 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.003708, allocations: 16.25 kB / 0.5223 GB, free: 368 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.003733, allocations: 19.38 kB / 0.5223 GB, free: 340 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.003842, allocations: 497.3 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.118e-05/0.003863, allocations: 11.98 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.646e-06/0.003872, allocations: 0 / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.891e-05/0.003911, allocations: 20.25 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.003913, allocations: 0 / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.237e-05/0.003975, allocations: 51.31 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.003991, allocations: 4 kB / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.003995, allocations: 0 / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.004007, allocations: 0 / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.004175, allocations: 29.16 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008434/0.005019, allocations: 1.804 MB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.273e-05/0.005031, allocations: 0 / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.005036, allocations: 0.625 kB / 0.5247 GB, free: 13.8 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 6.555e-05/0.005101, allocations: 161.6 kB / 0.5248 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-06/0.005108, allocations: 3.938 kB / 0.5248 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.578e-06/0.005117, allocations: 5.641 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.005119, allocations: 0 / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.00512, allocations: 3.984 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.005124, allocations: 3.984 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.329e-05/0.005177, allocations: 112.6 kB / 0.5249 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.005178, allocations: 1.531 kB / 0.5249 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.005294, allocations: 34.66 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.005296, allocations: 0 / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.005304, allocations: 7.938 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006872/0.005991, allocations: 1.796 MB / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.005993, allocations: 7.875 kB / 0.5267 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.012e-05/0.006053, allocations: 80.38 kB / 0.5268 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.036e-06/0.006056, allocations: 3.938 kB / 0.5268 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-06/0.006062, allocations: 7.984 kB / 0.5268 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-06/0.006072, allocations: 0.9375 kB / 0.5268 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.00609, allocations: 0 / 0.5268 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.006093, allocations: 0.7188 kB / 0.5268 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.415e-05/0.006127, allocations: 119.2 kB / 0.5269 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.006127, allocations: 6.375 kB / 0.527 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001315/0.006259, allocations: 0 / 0.527 GB, free: 11.28 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.0001001/0.006359, allocations: 99.25 kB / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.006545, allocations: 48.45 kB / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.006547, allocations: 0.6562 kB / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.45e-05/0.006642, allocations: 35.44 kB / 0.5271 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.006744, allocations: 7.938 kB / 0.5271 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.006971, allocations: 102.2 kB / 0.5272 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.824e-05/0.007, allocations: 51.36 kB / 0.5273 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.243e-05/0.007022, allocations: 7.984 kB / 0.5273 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.007047, allocations: 11.56 kB / 0.5273 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/0.007047, allocations: 0 / 0.5273 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.001946/0.008993, allocations: 482.9 kB / 0.5278 GB, free: 10.41 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9083127428311855]