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.001471/0.001471, allocations: 80.73 kB / 19.44 MB, free: 352 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.001623/0.001623, allocations: 157.7 kB / 22.75 MB, free: 1.676 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.539/1.539, allocations: 177.2 MB / 203.1 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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 1.253/1.253, allocations: 154.6 MB / 414.2 MB, free: 0.6328 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 178] 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.934e-06/1.934e-06, allocations: 0.875 kB / 0.5197 GB, free: 2.48 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.234e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.477 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0021/0.002132, allocations: 0.6115 MB / 0.5203 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003573/0.00249, allocations: 80.41 kB / 0.5204 GB, free: 1.809 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.002512, allocations: 1.031 kB / 0.5204 GB, free: 1.809 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.002526, allocations: 0.7656 kB / 0.5204 GB, free: 1.809 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.423e-05/0.00259, allocations: 0.6562 kB / 0.5204 GB, free: 1.809 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.002854, allocations: 24.66 kB / 0.5204 GB, free: 1.785 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.838e-05/0.002912, allocations: 8.156 kB / 0.5204 GB, free: 1.777 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.00296, allocations: 7.203 kB / 0.5204 GB, free: 1.773 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.314e-05/0.003003, allocations: 8 kB / 0.5204 GB, free: 1.766 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.825e-05/0.003091, allocations: 3.984 kB / 0.5204 GB, free: 1.762 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.003112, allocations: 4 kB / 0.5204 GB, free: 1.758 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.132e-05/0.003183, allocations: 7.984 kB / 0.5204 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.0032, allocations: 0 / 0.5204 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.003224, allocations: 4 kB / 0.5204 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.003336, allocations: 19.91 kB / 0.5204 GB, free: 1.727 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003339, allocations: 0 / 0.5204 GB, free: 1.727 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.003342, allocations: 4.875 kB / 0.5204 GB, free: 1.723 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.003346, allocations: 0 / 0.5204 GB, free: 1.723 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.0004527/0.003799, allocations: 243 kB / 0.5207 GB, free: 1.453 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.003855, allocations: 12.97 kB / 0.5207 GB, free: 1.441 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002617/0.004117, allocations: 8.922 kB / 0.5207 GB, free: 1.434 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.004235, allocations: 107.3 kB / 0.5208 GB, free: 1.305 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.004262, allocations: 4.375 kB / 0.5208 GB, free: 1.301 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.004271, allocations: 4.312 kB / 0.5208 GB, free: 1.297 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.004423, allocations: 38.25 kB / 0.5208 GB, free: 1.254 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.004432, allocations: 1.156 kB / 0.5208 GB, free: 1.254 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.004448, allocations: 8.359 kB / 0.5209 GB, free: 1.246 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.004453, allocations: 2.406 kB / 0.5209 GB, free: 1.246 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.951e-05/0.004552, allocations: 15.92 kB / 0.5209 GB, free: 1.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.004739, allocations: 97.33 kB / 0.521 GB, free: 1.105 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.004941, allocations: 43.3 kB / 0.521 GB, free: 1.055 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.97e-05/0.00501, allocations: 16.91 kB / 0.521 GB, free: 1.035 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.005031, allocations: 0.7188 kB / 0.521 GB, free: 1.035 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.005066, allocations: 30.56 kB / 0.5211 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.005067, allocations: 0.5625 kB / 0.5211 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002752/0.005342, allocations: 58.39 kB / 0.5211 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.005392, allocations: 56.84 kB / 0.5212 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.363e-05/0.005456, allocations: 89.86 kB / 0.5212 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.005476, allocations: 29.64 kB / 0.5213 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.005521, allocations: 80.14 kB / 0.5214 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.005558, allocations: 8.688 kB / 0.5214 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.005601, allocations: 21.7 kB / 0.5214 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.005772, allocations: 315.6 kB / 0.5217 GB, free: 308 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.301e-05/0.005815, allocations: 4 kB / 0.5217 GB, free: 304 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.891e-05/0.005854, allocations: 15.11 kB / 0.5217 GB, free: 292 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.005961, allocations: 25.12 kB / 0.5217 GB, free: 264 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.005963, allocations: 0 / 0.5217 GB, free: 264 kB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001313/0.006094, allocations: 49.67 kB / 0.5218 GB, free: 208 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.00611, allocations: 4 kB / 0.5218 GB, free: 204 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.006115, allocations: 0 / 0.5218 GB, free: 204 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.006141, allocations: 4.5 kB / 0.5218 GB, free: 200 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.006561, allocations: 49.47 kB / 0.5218 GB, free: 152 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.008218, allocations: 1.275 MB / 0.5231 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.46e-05/0.008253, allocations: 7.969 kB / 0.5231 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.008261, allocations: 4.656 kB / 0.5231 GB, free: 14.77 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 0.0001086/0.00837, allocations: 109.2 kB / 0.5232 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.008389, allocations: 7.938 kB / 0.5232 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.008409, allocations: 7.516 kB / 0.5232 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.008411, allocations: 0 / 0.5232 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.008412, allocations: 3.938 kB / 0.5232 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.008415, allocations: 0 / 0.5232 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.008669, allocations: 105.3 kB / 0.5233 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.00867, allocations: 0 / 0.5233 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/0.009062, allocations: 50.98 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.009065, allocations: 0 / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.009075, allocations: 3.938 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.0106, allocations: 1.28 MB / 0.5246 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.0106, allocations: 0 / 0.5246 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.01077, allocations: 81.11 kB / 0.5247 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-06/0.01078, allocations: 0 / 0.5247 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.01079, allocations: 8 kB / 0.5247 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.172e-05/0.01082, allocations: 4 kB / 0.5247 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.01085, allocations: 10.05 kB / 0.5247 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.01085, allocations: 0 / 0.5247 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.945e-05/0.0109, allocations: 79.28 kB / 0.5248 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.0109, allocations: 0 / 0.5248 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002094/0.01111, allocations: 4 kB / 0.5248 GB, free: 12.88 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.000145/0.01125, allocations: 93.62 kB / 0.5249 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005039/0.01176, allocations: 62.28 kB / 0.5249 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.01176, allocations: 0 / 0.5249 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.01203, allocations: 41.3 kB / 0.525 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.01218, allocations: 9.969 kB / 0.525 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.01261, allocations: 97.36 kB / 0.5251 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.268e-05/0.0127, allocations: 60.02 kB / 0.5251 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.01273, allocations: 4.734 kB / 0.5251 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.01277, allocations: 13.09 kB / 0.5252 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.01277, allocations: 5.219 kB / 0.5252 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.003166/0.01594, allocations: 463.8 kB / 0.5256 GB, free: 12.02 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.756960109923966]