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.0008812/0.0008812, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001906, 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.0007447/0.0007447, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.00182, 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.062/1.062, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1113/1.173, 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/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.8401/0.8401, allocations: 154.6 MB / 398.8 MB, free: 392 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2769/1.117, allocations: 49.05 MB / 447.8 MB, free: 6.574 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/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.763e-06/1.763e-06, allocations: 0 / 449.2 MB, free: 5.203 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.591e-05, allocations: 2.938 kB / 449.2 MB, free: 5.199 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001965/0.001991, allocations: 0.6636 MB / 449.9 MB, free: 4.578 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001884/0.002179, allocations: 100.4 kB / 450 MB, free: 4.48 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.355e-05/0.002193, allocations: 1.062 kB / 450 MB, free: 4.48 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.859e-06/0.002198, allocations: 0.875 kB / 450 MB, free: 4.48 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.386e-05/0.002221, allocations: 0.9062 kB / 450 MB, free: 4.48 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001137/0.002335, allocations: 17.55 kB / 450 MB, free: 4.465 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.097e-05/0.002396, allocations: 9.281 kB / 450 MB, free: 4.457 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.002447, allocations: 8.859 kB / 450 MB, free: 4.449 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.002499, allocations: 6.516 kB / 450 MB, free: 4.445 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.69e-05/0.002596, allocations: 4 kB / 450 MB, free: 4.441 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.002613, allocations: 0.5469 kB / 450 MB, free: 4.441 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.797e-05/0.002711, allocations: 11.98 kB / 450 MB, free: 4.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.002726, allocations: 3.5 kB / 450 MB, free: 4.43 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.002744, allocations: 4 kB / 450 MB, free: 4.426 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.002859, allocations: 17.84 kB / 450.1 MB, free: 4.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-05/0.002873, allocations: 0 / 450.1 MB, free: 4.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.002874, allocations: 0 / 450.1 MB, free: 4.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.002891, allocations: 0 / 450.1 MB, free: 4.41 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.0004001/0.003291, allocations: 222.7 kB / 450.3 MB, free: 4.168 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.003331, allocations: 8.031 kB / 450.3 MB, free: 4.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.003539, allocations: 86.03 kB / 450.4 MB, free: 4.059 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.003664, allocations: 114.6 kB / 450.5 MB, free: 3.922 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.003683, allocations: 384 / 450.5 MB, free: 3.922 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.003695, allocations: 6.344 kB / 450.5 MB, free: 3.918 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.003817, allocations: 46.95 kB / 450.5 MB, free: 3.863 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.003825, allocations: 192 / 450.5 MB, free: 3.863 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.003834, allocations: 4.375 kB / 450.5 MB, free: 3.859 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.00384, allocations: 384 / 450.5 MB, free: 3.859 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.008e-05/0.003871, allocations: 13.19 kB / 450.5 MB, free: 3.848 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001042/0.003975, allocations: 58.14 kB / 450.6 MB, free: 3.777 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.004079, allocations: 35.64 kB / 450.6 MB, free: 3.734 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.0041, allocations: 13.56 kB / 450.6 MB, free: 3.723 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.004116, allocations: 0.625 kB / 450.6 MB, free: 3.723 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.004142, allocations: 30.56 kB / 450.7 MB, free: 3.684 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.004143, allocations: 3.312 kB / 450.7 MB, free: 3.684 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001287/0.004272, allocations: 41.69 kB / 450.7 MB, free: 3.637 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.004306, allocations: 51.41 kB / 450.8 MB, free: 3.574 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.587e-05/0.004342, allocations: 93.8 kB / 450.9 MB, free: 3.473 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.004353, allocations: 25.7 kB / 450.9 MB, free: 3.441 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.004379, allocations: 85.23 kB / 451 MB, free: 3.355 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/0.004424, allocations: 13.95 kB / 451 MB, free: 3.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.004458, allocations: 17.7 kB / 451 MB, free: 3.316 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.004558, allocations: 319.7 kB / 451.3 MB, free: 2.996 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.004575, allocations: 4 kB / 451.3 MB, free: 2.992 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-06/0.004584, allocations: 1.406 kB / 451.3 MB, free: 2.992 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.926e-05/0.004624, allocations: 18.72 kB / 451.3 MB, free: 2.973 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.004626, allocations: 0 / 451.3 MB, free: 2.973 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.615e-05/0.004692, allocations: 33.7 kB / 451.4 MB, free: 2.934 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.004709, allocations: 11.98 kB / 451.4 MB, free: 2.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.004714, allocations: 0.5469 kB / 451.4 MB, free: 2.922 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.004728, allocations: 4.844 kB / 451.4 MB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.004939, allocations: 21.83 kB / 451.4 MB, free: 2.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009804/0.005919, allocations: 1.204 MB / 452.6 MB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/0.005942, allocations: 0 / 452.6 MB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.005947, allocations: 1.594 kB / 452.6 MB, free: 1.613 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 7.104e-05/0.006019, allocations: 114.9 kB / 452.7 MB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-06/0.006026, allocations: 4 kB / 452.7 MB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.196e-05/0.006038, allocations: 4.688 kB / 452.7 MB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.00604, allocations: 4 kB / 452.7 MB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.006043, allocations: 3.938 kB / 452.7 MB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.006046, allocations: 1.484 kB / 452.7 MB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.297e-05/0.006109, allocations: 61.91 kB / 452.8 MB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.006112, allocations: 1.5 kB / 452.8 MB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.006275, allocations: 29.47 kB / 452.8 MB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-06/0.006282, allocations: 7.984 kB / 452.8 MB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.006289, allocations: 5.953 kB / 452.9 MB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.006295, allocations: 4 kB / 452.9 MB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006983/0.006994, allocations: 1.199 MB / 454.1 MB, free: 76 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.006995, allocations: 0.75 kB / 454.1 MB, free: 76 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.859e-05/0.007083, allocations: 61.73 kB / 454.1 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-06/0.007091, allocations: 5.766 kB / 454.1 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.821e-05/0.007109, allocations: 4.625 kB / 454.1 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.007124, allocations: 3.938 kB / 454.1 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.007128, allocations: 1.391 kB / 454.1 MB, free: 15.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.828e-06/0.007137, allocations: 8.859 kB / 454.1 MB, free: 15.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007138, allocations: 0.5625 kB / 454.1 MB, free: 15.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001694/0.007307, allocations: 8.562 kB / 454.1 MB, free: 15.96 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.0001224/0.007429, allocations: 77.03 kB / 454.2 MB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.007657, allocations: 45.33 kB / 454.3 MB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.007663, allocations: 0 / 454.3 MB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.007799, allocations: 31.05 kB / 454.3 MB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.978e-05/0.007879, allocations: 11.98 kB / 454.3 MB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.008181, allocations: 102.8 kB / 454.4 MB, free: 15.67 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.735e-05/0.008219, allocations: 59.22 kB / 454.5 MB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.651e-05/0.008245, allocations: 2.625 kB / 454.5 MB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.008297, allocations: 52.25 kB / 454.5 MB, free: 15.54 MB / 442.7 MB Notification: Performance of SimCode: time 1.021e-06/0.008298, allocations: 0 / 454.5 MB, free: 15.54 MB / 442.7 MB Notification: Performance of Templates: time 0.002668/0.01097, allocations: 470.6 kB / 455 MB, free: 15.1 MB / 442.7 MB " [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.560712516307831]