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.001044/0.001044, allocations: 92.22 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.001172/0.001172, allocations: 173 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.037/1.037, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.867/0.867, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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.784e-06/1.784e-06, allocations: 0 / 0.5204 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.891e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001083/0.001102, allocations: 0.6062 MB / 0.521 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002434/0.001345, allocations: 83.73 kB / 0.5211 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.819e-05/0.001363, allocations: 0 / 0.5211 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.001383, allocations: 0.5312 kB / 0.5211 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.446e-05/0.001428, allocations: 0 / 0.5211 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.001642, allocations: 29.33 kB / 0.5211 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.283e-05/0.001694, allocations: 9.859 kB / 0.5211 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.001732, allocations: 0 / 0.5211 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.212e-05/0.001764, allocations: 8 kB / 0.5211 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.439e-05/0.001839, allocations: 1.484 kB / 0.5211 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.001855, allocations: 4 kB / 0.5211 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.381e-05/0.001909, allocations: 9.734 kB / 0.5211 GB, free: 1.465 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.001922, allocations: 0.9844 kB / 0.5211 GB, free: 1.465 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.001937, allocations: 8 kB / 0.5211 GB, free: 1.457 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.411e-05/0.002032, allocations: 20.11 kB / 0.5211 GB, free: 1.438 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.002034, allocations: 0 / 0.5211 GB, free: 1.438 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002035, allocations: 0.5625 kB / 0.5211 GB, free: 1.438 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.002039, allocations: 4.5 kB / 0.5211 GB, free: 1.434 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.0003232/0.002362, allocations: 345.3 kB / 0.5215 GB, free: 1.059 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.002404, allocations: 12.03 kB / 0.5215 GB, free: 1.047 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.00253, allocations: 5.688 kB / 0.5215 GB, free: 1.043 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.346e-05/0.002593, allocations: 108.6 kB / 0.5216 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.00261, allocations: 1 kB / 0.5216 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.00262, allocations: 13.28 kB / 0.5216 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.00273, allocations: 50.94 kB / 0.5217 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.002738, allocations: 192 / 0.5217 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.002748, allocations: 1.219 kB / 0.5217 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.002755, allocations: 384 / 0.5217 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.173e-05/0.002787, allocations: 13.69 kB / 0.5217 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.002898, allocations: 112.6 kB / 0.5218 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.474e-05/0.002992, allocations: 43 kB / 0.5218 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.003019, allocations: 15.78 kB / 0.5218 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.003032, allocations: 1.75 kB / 0.5218 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.003054, allocations: 37.39 kB / 0.5219 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.003055, allocations: 0 / 0.5219 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001576/0.003213, allocations: 45.69 kB / 0.5219 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.003249, allocations: 51.41 kB / 0.522 GB, free: 460 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.968e-05/0.003299, allocations: 143 kB / 0.5221 GB, free: 304 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.003309, allocations: 25.7 kB / 0.5221 GB, free: 272 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.066e-05/0.00334, allocations: 132.2 kB / 0.5223 GB, free: 136 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.003369, allocations: 12.25 kB / 0.5223 GB, free: 124 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.003394, allocations: 19.31 kB / 0.5223 GB, free: 96 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.003515, allocations: 0.4974 MB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.003532, allocations: 0 / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.215e-06/0.00354, allocations: 4 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.237e-05/0.003583, allocations: 19.69 kB / 0.5228 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.003585, allocations: 2.156 kB / 0.5228 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.14e-05/0.003636, allocations: 41.97 kB / 0.5228 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.003647, allocations: 7.938 kB / 0.5228 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.003651, allocations: 0 / 0.5228 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.003665, allocations: 48 / 0.5228 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.00384, allocations: 37.73 kB / 0.5229 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008345/0.004674, allocations: 1.803 MB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.004687, allocations: 4.906 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.004692, allocations: 3.984 kB / 0.5246 GB, free: 13.55 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 7.041e-05/0.004763, allocations: 165.4 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-06/0.004768, allocations: 8.875 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.756e-06/0.004777, allocations: 3.531 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.62e-07/0.004778, allocations: 0 / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.82e-07/0.004779, allocations: 1.156 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.004781, allocations: 0 / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.195e-05/0.004833, allocations: 112.6 kB / 0.5249 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.004834, allocations: 3 kB / 0.5249 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.004941, allocations: 27.97 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.004943, allocations: 0 / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.004951, allocations: 7.938 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006553/0.005606, allocations: 1.801 MB / 0.5267 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.005608, allocations: 3.984 kB / 0.5267 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.5e-05/0.005673, allocations: 84.38 kB / 0.5268 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-06/0.005675, allocations: 0 / 0.5268 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-06/0.005678, allocations: 1.5 kB / 0.5268 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.128e-06/0.005687, allocations: 4 kB / 0.5268 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.889e-05/0.005706, allocations: 3.938 kB / 0.5268 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.005709, allocations: 0 / 0.5268 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.901e-05/0.005738, allocations: 119.7 kB / 0.5269 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.005738, allocations: 3.062 kB / 0.5269 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000127/0.005865, allocations: 8 kB / 0.5269 GB, free: 11.02 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.58e-05/0.00594, allocations: 99.23 kB / 0.527 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001844/0.006125, allocations: 39.66 kB / 0.5271 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.006126, allocations: 2.438 kB / 0.5271 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.078e-05/0.006217, allocations: 39.88 kB / 0.5271 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.8e-05/0.006315, allocations: 7.938 kB / 0.5271 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002139/0.006529, allocations: 103.5 kB / 0.5272 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.95e-05/0.006559, allocations: 55.34 kB / 0.5273 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.93e-05/0.006578, allocations: 5.688 kB / 0.5273 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.006603, allocations: 8.5 kB / 0.5273 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.006603, allocations: 0 / 0.5273 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of Templates: time 0.001995/0.008598, allocations: 499.7 kB / 0.5278 GB, free: 10.15 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.8651252421550453]