Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001025/0.001025, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.000977/0.000977, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9391/0.9391, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.7909/0.7909, allocations: 154.6 MB / 415.6 MB, free: 0.4961 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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.5215 GB, free: 1.863 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.259e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.859 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.00222/0.002243, allocations: 1.493 MB / 0.523 GB, free: 384 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002799/0.002522, allocations: 88.89 kB / 0.5231 GB, free: 296 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.002557, allocations: 0 / 0.5231 GB, free: 296 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.002584, allocations: 4.5 kB / 0.5231 GB, free: 292 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.968e-05/0.002634, allocations: 5.125 kB / 0.5231 GB, free: 288 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.002816, allocations: 24.8 kB / 0.5231 GB, free: 264 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.296e-05/0.002879, allocations: 27.92 kB / 0.5231 GB, free: 236 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.034e-05/0.002959, allocations: 1.469 kB / 0.5231 GB, free: 236 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.35e-05/0.003013, allocations: 19.98 kB / 0.5232 GB, free: 216 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.036e-05/0.003043, allocations: 3.938 kB / 0.5232 GB, free: 212 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.003058, allocations: 4 kB / 0.5232 GB, free: 208 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.329e-05/0.003111, allocations: 16.89 kB / 0.5232 GB, free: 192 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.003126, allocations: 3.984 kB / 0.5232 GB, free: 188 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.003144, allocations: 11.98 kB / 0.5232 GB, free: 176 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.003249, allocations: 32.81 kB / 0.5232 GB, free: 144 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.003252, allocations: 0 / 0.5232 GB, free: 144 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.003253, allocations: 1.594 kB / 0.5232 GB, free: 144 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.003257, allocations: 0 / 0.5232 GB, free: 144 kB / 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.0003429/0.0036, allocations: 372.6 kB / 0.5236 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.003636, allocations: 8.031 kB / 0.5236 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.003765, allocations: 9.75 kB / 0.5236 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.419e-05/0.00385, allocations: 112.6 kB / 0.5237 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.003864, allocations: 9.656 kB / 0.5237 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-06/0.00387, allocations: 384 / 0.5237 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.003972, allocations: 62.88 kB / 0.5238 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.003978, allocations: 1.531 kB / 0.5238 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.003984, allocations: 384 / 0.5238 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.003989, allocations: 4.375 kB / 0.5238 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.368e-05/0.004012, allocations: 7.938 kB / 0.5238 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.004248, allocations: 229.2 kB / 0.524 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.759e-05/0.004305, allocations: 40.55 kB / 0.5241 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.004324, allocations: 23.72 kB / 0.5241 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.004335, allocations: 0 / 0.5241 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.004354, allocations: 33.39 kB / 0.5241 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.004355, allocations: 2.344 kB / 0.5241 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001177/0.004473, allocations: 41.64 kB / 0.5241 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.004499, allocations: 51.41 kB / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.517e-05/0.004564, allocations: 161.9 kB / 0.5244 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.599e-06/0.004574, allocations: 25.7 kB / 0.5244 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.004618, allocations: 143.2 kB / 0.5245 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.004634, allocations: 5.406 kB / 0.5245 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.004661, allocations: 23.36 kB / 0.5245 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.004771, allocations: 492.1 kB / 0.525 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.429e-05/0.004785, allocations: 4 kB / 0.525 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.01e-05/0.004795, allocations: 4.906 kB / 0.525 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.004824, allocations: 15.69 kB / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.004826, allocations: 0.9375 kB / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.385e-05/0.00489, allocations: 45.64 kB / 0.5251 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.004905, allocations: 4.938 kB / 0.5251 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.004909, allocations: 0 / 0.5251 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.00492, allocations: 4.438 kB / 0.5251 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.004987, allocations: 12.62 kB / 0.5251 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.004991, allocations: 0 / 0.5251 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.321e-05/0.005014, allocations: 9.203 kB / 0.5251 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.005018, allocations: 0 / 0.5251 GB, free: 14.03 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.071e-05/0.005089, allocations: 156.6 kB / 0.5253 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.005106, allocations: 4.625 kB / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.005134, allocations: 12.41 kB / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.005137, allocations: 3.938 kB / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.005139, allocations: 0 / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.005142, allocations: 2.438 kB / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.005243, allocations: 101.2 kB / 0.5254 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.005245, allocations: 0 / 0.5254 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.919e-05/0.005274, allocations: 7.984 kB / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.005276, allocations: 0 / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.005281, allocations: 256 / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.005283, allocations: 4 kB / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.005284, allocations: 3.062 kB / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.0054, allocations: 199.8 kB / 0.5256 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-06/0.005407, allocations: 4 kB / 0.5256 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-06/0.005415, allocations: 0 / 0.5256 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.414e-05/0.005449, allocations: 4 kB / 0.5256 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.005477, allocations: 3.984 kB / 0.5256 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.005481, allocations: 3.938 kB / 0.5256 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.724e-05/0.005518, allocations: 127.7 kB / 0.5257 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005518, allocations: 0 / 0.5257 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001333/0.005652, allocations: 9.469 kB / 0.5257 GB, free: 13.36 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001002/0.005752, allocations: 91.25 kB / 0.5258 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.675e-05/0.005828, allocations: 22.17 kB / 0.5258 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.00583, allocations: 0 / 0.5258 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.937e-05/0.005849, allocations: 19.56 kB / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.006036, allocations: 5.688 kB / 0.5259 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.006286, allocations: 125 kB / 0.526 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.651e-05/0.006323, allocations: 59.3 kB / 0.526 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.078e-05/0.006343, allocations: 4 kB / 0.526 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.006397, allocations: 66.2 kB / 0.5261 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.006398, allocations: 1.156 kB / 0.5261 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.002251/0.008648, allocations: 0.7226 MB / 0.5268 GB, free: 12.21 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.862497272901237]