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.001267/0.001267, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001816/0.001816, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.065/1.065, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.8095/0.8095, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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.363e-06/1.363e-06, allocations: 0 / 480.1 MB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.028e-05, allocations: 3.078 kB / 480.1 MB, free: 6.789 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00148/0.0015, allocations: 0.6543 MB / 480.8 MB, free: 6.172 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002462/0.001746, allocations: 88.5 kB / 480.9 MB, free: 6.086 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.637e-05/0.001763, allocations: 1.703 kB / 480.9 MB, free: 6.086 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.001776, allocations: 0 / 480.9 MB, free: 6.086 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.255e-05/0.001819, allocations: 0 / 480.9 MB, free: 6.086 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.001979, allocations: 20.48 kB / 480.9 MB, free: 6.066 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.537e-05/0.002024, allocations: 7.922 kB / 480.9 MB, free: 6.062 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.002062, allocations: 7.969 kB / 480.9 MB, free: 6.055 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.812e-05/0.0021, allocations: 8 kB / 480.9 MB, free: 6.047 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.703e-05/0.002167, allocations: 4.547 kB / 480.9 MB, free: 6.043 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.002179, allocations: 0 / 480.9 MB, free: 6.043 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.374e-05/0.002252, allocations: 11.98 kB / 480.9 MB, free: 6.031 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.002265, allocations: 1.953 kB / 480.9 MB, free: 6.031 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.357e-05/0.002279, allocations: 4.766 kB / 480.9 MB, free: 6.027 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.157e-05/0.00236, allocations: 19.95 kB / 480.9 MB, free: 6.008 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002362, allocations: 0.7656 kB / 480.9 MB, free: 6.008 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.002363, allocations: 0.5 kB / 480.9 MB, free: 6.008 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.002367, allocations: 0.875 kB / 480.9 MB, free: 6.008 MB / 442.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.0002197/0.002586, allocations: 223.8 kB / 481.2 MB, free: 5.766 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.002618, allocations: 9.094 kB / 481.2 MB, free: 5.758 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.002736, allocations: 16.86 kB / 481.2 MB, free: 5.742 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.999e-05/0.002786, allocations: 103 kB / 481.3 MB, free: 5.617 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.002798, allocations: 384 / 481.3 MB, free: 5.617 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.002805, allocations: 5 kB / 481.3 MB, free: 5.613 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.134e-05/0.002886, allocations: 47.58 kB / 481.3 MB, free: 5.559 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-06/0.002891, allocations: 192 / 481.3 MB, free: 5.559 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.002898, allocations: 5.547 kB / 481.3 MB, free: 5.555 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.002902, allocations: 384 / 481.3 MB, free: 5.555 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.258e-05/0.002925, allocations: 8.562 kB / 481.4 MB, free: 5.547 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.744e-05/0.003002, allocations: 61.66 kB / 481.4 MB, free: 5.473 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.127e-05/0.003074, allocations: 35.22 kB / 481.4 MB, free: 5.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.391e-05/0.003087, allocations: 5.516 kB / 481.5 MB, free: 5.422 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.003098, allocations: 4.578 kB / 481.5 MB, free: 5.418 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.003118, allocations: 38.55 kB / 481.5 MB, free: 5.371 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 6.72e-07/0.003119, allocations: 1.531 kB / 481.5 MB, free: 5.371 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 8.548e-05/0.003204, allocations: 44.08 kB / 481.5 MB, free: 5.324 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.003232, allocations: 59.34 kB / 481.6 MB, free: 5.254 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.923e-05/0.003261, allocations: 90.73 kB / 481.7 MB, free: 5.156 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.003397, allocations: 26.61 kB / 481.7 MB, free: 5.125 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.146e-05/0.003419, allocations: 80.14 kB / 481.8 MB, free: 5.043 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.003449, allocations: 4.953 kB / 481.8 MB, free: 5.039 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.003477, allocations: 13.72 kB / 481.8 MB, free: 5.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.003559, allocations: 323.4 kB / 482.1 MB, free: 4.695 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.003575, allocations: 5.203 kB / 482.1 MB, free: 4.691 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-06/0.003584, allocations: 4 kB / 482.1 MB, free: 4.688 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.141e-05/0.003615, allocations: 13.61 kB / 482.1 MB, free: 4.672 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.003617, allocations: 0 / 482.1 MB, free: 4.672 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.029e-05/0.003667, allocations: 46.12 kB / 482.2 MB, free: 4.621 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.003677, allocations: 5.094 kB / 482.2 MB, free: 4.617 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.003681, allocations: 0 / 482.2 MB, free: 4.617 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.003689, allocations: 0 / 482.2 MB, free: 4.617 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.003849, allocations: 25.16 kB / 482.2 MB, free: 4.594 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006716/0.004521, allocations: 1.206 MB / 483.4 MB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.511e-05/0.004536, allocations: 4.875 kB / 483.4 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.00454, allocations: 0 / 483.4 MB, free: 3.309 MB / 442.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 5.34e-05/0.004593, allocations: 111.3 kB / 483.5 MB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-06/0.004599, allocations: 0 / 483.5 MB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.487e-06/0.004608, allocations: 7.531 kB / 483.5 MB, free: 3.184 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.32e-07/0.004609, allocations: 0.5625 kB / 483.5 MB, free: 3.184 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.004611, allocations: 13.69 kB / 483.6 MB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.004614, allocations: 0 / 483.6 MB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.903e-05/0.004663, allocations: 64.06 kB / 483.6 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.004665, allocations: 0 / 483.6 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.004791, allocations: 29.53 kB / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.004793, allocations: 0.9375 kB / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-06/0.004797, allocations: 0 / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005519/0.005349, allocations: 1.203 MB / 484.9 MB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.00535, allocations: 0 / 484.9 MB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.926e-05/0.005399, allocations: 58.86 kB / 484.9 MB, free: 1.711 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-06/0.005403, allocations: 12.44 kB / 484.9 MB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-06/0.00541, allocations: 5.562 kB / 484.9 MB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.313e-05/0.005423, allocations: 3.938 kB / 484.9 MB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.005438, allocations: 7.984 kB / 484.9 MB, free: 1.684 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.005441, allocations: 0 / 484.9 MB, free: 1.684 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.195e-06/0.005449, allocations: 9.391 kB / 485 MB, free: 1.672 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005449, allocations: 0.6875 kB / 485 MB, free: 1.672 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001498/0.005599, allocations: 6.344 kB / 485 MB, free: 1.668 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 6.352e-05/0.005662, allocations: 72.42 kB / 485 MB, free: 1.586 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.005822, allocations: 44.27 kB / 485.1 MB, free: 1.543 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.005824, allocations: 0 / 485.1 MB, free: 1.543 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.761e-05/0.005921, allocations: 33.05 kB / 485.1 MB, free: 1.504 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.282e-05/0.005974, allocations: 5.594 kB / 485.1 MB, free: 1.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001801/0.006154, allocations: 99.03 kB / 485.2 MB, free: 1.383 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.601e-05/0.00618, allocations: 55.22 kB / 485.3 MB, free: 1.309 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.253e-05/0.006203, allocations: 7.516 kB / 485.3 MB, free: 1.305 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.006237, allocations: 51.38 kB / 485.3 MB, free: 1.254 MB / 442.7 MB Notification: Performance of SimCode: time 4.61e-07/0.006237, allocations: 0 / 485.3 MB, free: 1.254 MB / 442.7 MB Notification: Performance of Templates: time 0.001853/0.00809, allocations: 0.5074 MB / 485.8 MB, free: 0.7812 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6595524977892637]