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.0009345/0.0009345, allocations: 93.06 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.0009873/0.0009873, allocations: 169 kB / 23.02 MB, free: 1.547 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.02/1.02, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7743/0.7743, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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 1.302e-06/1.302e-06, allocations: 0 / 0.5204 GB, free: 2.129 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.695e-05, allocations: 6.031 kB / 0.5204 GB, free: 2.125 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001043/0.00106, allocations: 0.6082 MB / 0.521 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001899/0.00125, allocations: 85.97 kB / 0.5211 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.371e-05/0.001264, allocations: 0 / 0.5211 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.00128, allocations: 4 kB / 0.5211 GB, free: 1.449 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.578e-05/0.001315, allocations: 1.938 kB / 0.5211 GB, free: 1.449 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.001469, allocations: 20.67 kB / 0.5211 GB, free: 1.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.527e-05/0.001505, allocations: 7.984 kB / 0.5211 GB, free: 1.422 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.648e-05/0.001531, allocations: 1.75 kB / 0.5211 GB, free: 1.422 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.261e-05/0.001554, allocations: 4.766 kB / 0.5211 GB, free: 1.418 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/0.001604, allocations: 8.859 kB / 0.5211 GB, free: 1.41 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.001615, allocations: 0 / 0.5211 GB, free: 1.41 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.592e-05/0.001661, allocations: 15.98 kB / 0.5211 GB, free: 1.395 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.001672, allocations: 4.547 kB / 0.5211 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.218e-05/0.001684, allocations: 1.766 kB / 0.5211 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.776e-05/0.001752, allocations: 19.92 kB / 0.5211 GB, free: 1.371 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.252e-06/0.001753, allocations: 0 / 0.5211 GB, free: 1.371 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.001754, allocations: 1.375 kB / 0.5211 GB, free: 1.371 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.001757, allocations: 0 / 0.5211 GB, free: 1.371 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.0002439/0.002001, allocations: 348.4 kB / 0.5215 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.002029, allocations: 8.812 kB / 0.5215 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.002145, allocations: 8.922 kB / 0.5215 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.082e-05/0.002196, allocations: 109.8 kB / 0.5216 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.00221, allocations: 4.375 kB / 0.5216 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.002219, allocations: 384 / 0.5216 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.688e-05/0.002306, allocations: 53.61 kB / 0.5217 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.002315, allocations: 192 / 0.5217 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-06/0.002322, allocations: 384 / 0.5217 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.002331, allocations: 4.375 kB / 0.5217 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.217e-05/0.002363, allocations: 11.92 kB / 0.5217 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.121e-05/0.002454, allocations: 112.6 kB / 0.5218 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.476e-05/0.002529, allocations: 39.03 kB / 0.5218 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.002548, allocations: 16.25 kB / 0.5218 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.002561, allocations: 1.406 kB / 0.5218 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.002579, allocations: 37.39 kB / 0.5219 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.00258, allocations: 0 / 0.5219 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001041/0.002684, allocations: 49.67 kB / 0.5219 GB, free: 460 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.002707, allocations: 56.31 kB / 0.522 GB, free: 392 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.277e-05/0.00274, allocations: 142.2 kB / 0.5221 GB, free: 236 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.002749, allocations: 26.64 kB / 0.5221 GB, free: 204 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.002774, allocations: 130.9 kB / 0.5223 GB, free: 68 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.002799, allocations: 12.23 kB / 0.5223 GB, free: 56 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.002824, allocations: 28.3 kB / 0.5223 GB, free: 20 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.002936, allocations: 496.1 kB / 0.5228 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.002949, allocations: 4.594 kB / 0.5228 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-06/0.002957, allocations: 0 / 0.5228 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.262e-05/0.00299, allocations: 24.36 kB / 0.5228 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.002991, allocations: 0 / 0.5228 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.73e-05/0.003038, allocations: 42.92 kB / 0.5228 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.003049, allocations: 11.92 kB / 0.5228 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.003053, allocations: 3.938 kB / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.003068, allocations: 4.625 kB / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.003216, allocations: 25.8 kB / 0.5229 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000859/0.004075, allocations: 1.805 MB / 0.5246 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.26e-05/0.004087, allocations: 3.938 kB / 0.5246 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.004092, allocations: 3.984 kB / 0.5247 GB, free: 13.48 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 5.593e-05/0.004148, allocations: 156.6 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-06/0.004154, allocations: 3.938 kB / 0.5248 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.917e-06/0.004163, allocations: 10.98 kB / 0.5248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.81e-07/0.004164, allocations: 0 / 0.5248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.004165, allocations: 4 kB / 0.5248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.004168, allocations: 3.984 kB / 0.5248 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.645e-05/0.004214, allocations: 104.6 kB / 0.5249 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.004217, allocations: 3.984 kB / 0.5249 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.00433, allocations: 25.77 kB / 0.5249 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.61e-07/0.004331, allocations: 4 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.00434, allocations: 11.92 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005855/0.004925, allocations: 1.792 MB / 0.5267 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.004926, allocations: 2.75 kB / 0.5267 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.606e-05/0.004982, allocations: 84.38 kB / 0.5268 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-06/0.004985, allocations: 4 kB / 0.5268 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-06/0.004989, allocations: 7.938 kB / 0.5268 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-06/0.004998, allocations: 0 / 0.5268 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.005013, allocations: 3.984 kB / 0.5268 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.005015, allocations: 4 kB / 0.5268 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.423e-05/0.00504, allocations: 119.2 kB / 0.5269 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00504, allocations: 1.469 kB / 0.5269 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001198/0.00516, allocations: 4 kB / 0.5269 GB, free: 10.96 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 7.24e-05/0.005232, allocations: 92 kB / 0.527 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001632/0.005395, allocations: 45.75 kB / 0.5271 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.005396, allocations: 0 / 0.5271 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.868e-05/0.005485, allocations: 40.47 kB / 0.5271 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.664e-05/0.005572, allocations: 4.656 kB / 0.5271 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001831/0.005755, allocations: 114.9 kB / 0.5272 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.437e-05/0.005779, allocations: 51.36 kB / 0.5273 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.604e-05/0.005795, allocations: 5.5 kB / 0.5273 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.005817, allocations: 9.562 kB / 0.5273 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.005817, allocations: 0 / 0.5273 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.001716/0.007533, allocations: 473.5 kB / 0.5277 GB, free: 10.11 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.873461018782109]