Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Average.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.001224/0.001224, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001126/0.001126, allocations: 169.7 kB / 23.27 MB, free: 1.223 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 0.987/0.987, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.7674/0.7674, allocations: 154.6 MB / 414.8 MB, free: 0.5469 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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5208 GB, free: 1.914 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.312e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.02044/0.02046, allocations: 1.574 MB / 0.5223 GB, free: 352 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000328/0.02079, allocations: 124.7 kB / 0.5224 GB, free: 228 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.02085, allocations: 3.938 kB / 0.5224 GB, free: 224 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.02096, allocations: 9.266 kB / 0.5224 GB, free: 216 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.952e-05/0.02099, allocations: 7.922 kB / 0.5225 GB, free: 208 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.02122, allocations: 31.91 kB / 0.5225 GB, free: 176 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.601e-05/0.02131, allocations: 56.53 kB / 0.5225 GB, free: 120 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/0.0214, allocations: 19.92 kB / 0.5226 GB, free: 100 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.02147, allocations: 33.8 kB / 0.5226 GB, free: 68 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.984e-05/0.02153, allocations: 23.91 kB / 0.5226 GB, free: 44 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.02155, allocations: 8 kB / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.174e-05/0.02161, allocations: 12 kB / 0.5226 GB, free: 24 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.492e-05/0.02165, allocations: 15.92 kB / 0.5226 GB, free: 8 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.02168, allocations: 18.06 kB / 0.5227 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.02179, allocations: 47.83 kB / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.0218, allocations: 4 kB / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.132e-06/0.0218, allocations: 3.844 kB / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.217e-06/0.0218, allocations: 0 / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003593/0.02216, allocations: 393.9 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.0222, allocations: 12.02 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.02223, allocations: 12.89 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00914/0.03137, allocations: 132.1 kB / 0.5232 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.03139, allocations: 4.375 kB / 0.5232 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.0314, allocations: 8.375 kB / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.03154, allocations: 71.84 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.03155, allocations: 192 / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.03156, allocations: 1.375 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.03157, allocations: 384 / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.202e-05/0.0316, allocations: 19.86 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.03192, allocations: 277.2 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.006e-05/0.03198, allocations: 35.56 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.032, allocations: 8.719 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.03203, allocations: 8.078 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.03205, allocations: 38.55 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.03206, allocations: 0 / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001472/0.0322, allocations: 53.72 kB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.03224, allocations: 51.41 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.025e-05/0.03232, allocations: 175.7 kB / 0.524 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.03233, allocations: 25.7 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.03238, allocations: 146.8 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.0324, allocations: 11.91 kB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.03244, allocations: 21.09 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.03256, allocations: 496.1 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.03258, allocations: 15.92 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.166e-05/0.03259, allocations: 0 / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.231e-05/0.03263, allocations: 15.97 kB / 0.5247 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.03263, allocations: 1.562 kB / 0.5247 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.943e-05/0.03271, allocations: 57.55 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.03272, allocations: 4 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.03272, allocations: 0 / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.03273, allocations: 0.75 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.358e-05/0.03281, allocations: 11.98 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.03281, allocations: 1.469 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.03284, allocations: 4 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.03285, allocations: 4 kB / 0.5247 GB, free: 13.68 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): 3 * 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 6.808e-05/0.03292, allocations: 161.6 kB / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.03294, allocations: 11.89 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.204e-05/0.03304, allocations: 50.56 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.03304, allocations: 0 / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.03304, allocations: 4 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.03304, allocations: 6.922 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.03317, allocations: 101.2 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.03317, allocations: 0 / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.03321, allocations: 15.98 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.03321, allocations: 0 / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.03322, allocations: 0 / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.03322, allocations: 3.938 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.03322, allocations: 0 / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.03333, allocations: 198.6 kB / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.03334, allocations: 3.938 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.03335, allocations: 3.984 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.475e-05/0.0334, allocations: 11.94 kB / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.03343, allocations: 7.984 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.03344, allocations: 0 / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.03348, allocations: 131.2 kB / 0.5254 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.03348, allocations: 0.5938 kB / 0.5254 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002103/0.03369, allocations: 21.08 kB / 0.5254 GB, free: 12.9 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): 3 * 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.0001167/0.03381, allocations: 99.25 kB / 0.5255 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.15e-05/0.03388, allocations: 20.3 kB / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.03388, allocations: 0 / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.343e-05/0.0339, allocations: 17.19 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.03521, allocations: 14.41 kB / 0.5256 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.03564, allocations: 155.2 kB / 0.5257 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.34e-05/0.03568, allocations: 63.34 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.284e-05/0.03572, allocations: 4.641 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.436e-05/0.03578, allocations: 75.05 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.262e-06/0.03578, allocations: 0 / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.00303/0.03881, allocations: 0.8889 MB / 0.5267 GB, free: 11.56 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6138163027353585]