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.0009863/0.0009863, allocations: 93.06 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.001064/0.001064, allocations: 169 kB / 23.02 MB, free: 1.543 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.949/0.949, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.8184/0.8184, 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.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.613e-06/1.613e-06, allocations: 0 / 0.5203 GB, free: 1.117 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.63e-05, allocations: 6.359 kB / 0.5203 GB, free: 1.113 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002084/0.00211, allocations: 1.581 MB / 0.5219 GB, free: 15.54 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003012/0.002412, allocations: 121.3 kB / 0.522 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.00246, allocations: 0 / 0.522 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.002619, allocations: 10.27 kB / 0.522 GB, free: 15.42 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 2.82e-05/0.002647, allocations: 11.86 kB / 0.522 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.002896, allocations: 31.95 kB / 0.522 GB, free: 15.38 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.61e-05/0.002982, allocations: 52.72 kB / 0.5221 GB, free: 15.32 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.003077, allocations: 15.98 kB / 0.5221 GB, free: 15.31 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.413e-05/0.003141, allocations: 31.97 kB / 0.5221 GB, free: 15.28 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.003204, allocations: 29.3 kB / 0.5222 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.003223, allocations: 4 kB / 0.5222 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.686e-05/0.00329, allocations: 11.94 kB / 0.5222 GB, free: 15.23 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.003335, allocations: 25.08 kB / 0.5222 GB, free: 15.21 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.003361, allocations: 11.98 kB / 0.5222 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.003481, allocations: 51.81 kB / 0.5223 GB, free: 15.15 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003483, allocations: 0.6875 kB / 0.5223 GB, free: 15.15 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.003484, allocations: 0 / 0.5223 GB, free: 15.15 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.003488, allocations: 1.281 kB / 0.5223 GB, free: 15.15 MB / 458.7 MB 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.0003812/0.00387, allocations: 396.3 kB / 0.5227 GB, free: 14.72 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.003907, allocations: 8.031 kB / 0.5227 GB, free: 14.71 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.003961, allocations: 13.98 kB / 0.5227 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.004107, allocations: 128.5 kB / 0.5228 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.00412, allocations: 12.31 kB / 0.5228 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.004131, allocations: 4.875 kB / 0.5228 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.004292, allocations: 67.47 kB / 0.5229 GB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.0043, allocations: 2.062 kB / 0.5229 GB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.004312, allocations: 8.375 kB / 0.5229 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.004321, allocations: 4.375 kB / 0.5229 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.058e-05/0.004361, allocations: 15.92 kB / 0.5229 GB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.004738, allocations: 297.2 kB / 0.5232 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.885e-05/0.004817, allocations: 43.05 kB / 0.5232 GB, free: 14.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/0.004845, allocations: 15.62 kB / 0.5232 GB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.004883, allocations: 9.5 kB / 0.5233 GB, free: 14.03 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.004903, allocations: 33.39 kB / 0.5233 GB, free: 13.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.004905, allocations: 0 / 0.5233 GB, free: 13.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001578/0.005063, allocations: 45.78 kB / 0.5233 GB, free: 13.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.005092, allocations: 56.38 kB / 0.5234 GB, free: 13.87 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.005171, allocations: 173.9 kB / 0.5235 GB, free: 13.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.005183, allocations: 27.2 kB / 0.5236 GB, free: 13.65 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.005232, allocations: 142.8 kB / 0.5237 GB, free: 13.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.005252, allocations: 7.891 kB / 0.5237 GB, free: 13.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.005285, allocations: 23.38 kB / 0.5237 GB, free: 13.46 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.00541, allocations: 0.4889 MB / 0.5242 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.005432, allocations: 4 kB / 0.5242 GB, free: 12.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.436e-05/0.005447, allocations: 8.906 kB / 0.5242 GB, free: 12.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.122e-05/0.005488, allocations: 19.67 kB / 0.5242 GB, free: 12.93 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.00549, allocations: 0 / 0.5242 GB, free: 12.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.212e-05/0.005562, allocations: 50.72 kB / 0.5243 GB, free: 12.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.005576, allocations: 4 kB / 0.5243 GB, free: 12.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.005581, allocations: 0 / 0.5243 GB, free: 12.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.005598, allocations: 8.547 kB / 0.5243 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.981e-05/0.005678, allocations: 9.719 kB / 0.5243 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.005683, allocations: 0 / 0.5243 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.005709, allocations: 7.984 kB / 0.5243 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.005726, allocations: 3.938 kB / 0.5243 GB, free: 12.84 MB / 458.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): 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.473e-05/0.005791, allocations: 162.4 kB / 0.5245 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.005808, allocations: 7.891 kB / 0.5245 GB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.005916, allocations: 57.98 kB / 0.5245 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.005918, allocations: 0 / 0.5245 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.005922, allocations: 2.188 kB / 0.5245 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.005925, allocations: 0 / 0.5245 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.807e-05/0.006023, allocations: 128.6 kB / 0.5247 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.006024, allocations: 0 / 0.5247 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.712e-05/0.006061, allocations: 11.98 kB / 0.5247 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.006064, allocations: 3.938 kB / 0.5247 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.006072, allocations: 2.438 kB / 0.5247 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.006074, allocations: 0 / 0.5247 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.006076, allocations: 3.984 kB / 0.5247 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.006182, allocations: 199.8 kB / 0.5249 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.114e-06/0.006189, allocations: 3.938 kB / 0.5249 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.006204, allocations: 15.98 kB / 0.5249 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.584e-05/0.00624, allocations: 6.062 kB / 0.5249 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.006277, allocations: 3.984 kB / 0.5249 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.006283, allocations: 0 / 0.5249 GB, free: 12.18 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.932e-05/0.006332, allocations: 137.4 kB / 0.525 GB, free: 12.05 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006332, allocations: 0 / 0.525 GB, free: 12.05 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001489/0.006481, allocations: 12 kB / 0.5251 GB, free: 12.04 MB / 458.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): 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.000112/0.006593, allocations: 96.22 kB / 0.5251 GB, free: 11.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.608e-05/0.006689, allocations: 28.55 kB / 0.5252 GB, free: 11.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.00669, allocations: 0 / 0.5252 GB, free: 11.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.062e-05/0.006711, allocations: 18.94 kB / 0.5252 GB, free: 11.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.006897, allocations: 7.938 kB / 0.5252 GB, free: 11.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.007187, allocations: 154.1 kB / 0.5253 GB, free: 11.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.701e-05/0.007224, allocations: 63.34 kB / 0.5254 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.839e-05/0.007253, allocations: 7.984 kB / 0.5254 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.007283, allocations: 11.34 kB / 0.5254 GB, free: 11.6 MB / 458.7 MB Notification: Performance of SimCode: time 7.81e-07/0.007284, allocations: 0 / 0.5254 GB, free: 11.6 MB / 458.7 MB Notification: Performance of Templates: time 0.002974/0.01026, allocations: 0.874 MB / 0.5263 GB, free: 10.77 MB / 458.7 MB " [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.676849546842277]