Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000966/0.000966, allocations: 93.06 kB / 19.65 MB, free: 280 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.001001/0.001001, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9777/0.9777, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8773/0.8773, allocations: 154.8 MB / 414.7 MB, free: 496 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5206 GB, free: 1.949 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.51e-05, allocations: 3.531 kB / 0.5206 GB, free: 1.945 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002863/0.002888, allocations: 1.59 MB / 0.5221 GB, free: 376 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004047/0.003293, allocations: 115.5 kB / 0.5222 GB, free: 260 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.003353, allocations: 3.938 kB / 0.5222 GB, free: 256 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.003507, allocations: 15.88 kB / 0.5222 GB, free: 240 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.602e-05/0.003543, allocations: 13.39 kB / 0.5223 GB, free: 228 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.003848, allocations: 27.95 kB / 0.5223 GB, free: 200 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.003962, allocations: 51.84 kB / 0.5223 GB, free: 148 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.004084, allocations: 21.19 kB / 0.5224 GB, free: 128 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.478e-05/0.004179, allocations: 39.91 kB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.513e-05/0.004254, allocations: 19.97 kB / 0.5224 GB, free: 68 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.004277, allocations: 4 kB / 0.5224 GB, free: 64 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.904e-05/0.004356, allocations: 8.625 kB / 0.5224 GB, free: 56 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.004409, allocations: 20.64 kB / 0.5224 GB, free: 36 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.004449, allocations: 15.97 kB / 0.5225 GB, free: 20 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.004628, allocations: 57.12 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.004632, allocations: 0 / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.303e-06/0.004633, allocations: 0 / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.004638, allocations: 3.938 kB / 0.5225 GB, free: 15.96 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.0004886/0.005127, allocations: 389.5 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.00517, allocations: 12.03 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.005224, allocations: 16.45 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.005406, allocations: 128.2 kB / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.005419, allocations: 4.375 kB / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.005436, allocations: 4.375 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.005654, allocations: 78.86 kB / 0.5231 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.005666, allocations: 192 / 0.5231 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.005679, allocations: 384 / 0.5231 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.005688, allocations: 384 / 0.5231 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.731e-05/0.005755, allocations: 19.92 kB / 0.5231 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.006248, allocations: 296.8 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.006356, allocations: 35.62 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.0064, allocations: 24.67 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.324e-05/0.006444, allocations: 0 / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.006474, allocations: 37.39 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.006475, allocations: 1.469 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002149/0.00669, allocations: 53.84 kB / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.006724, allocations: 51.41 kB / 0.5236 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.006832, allocations: 177.9 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.006848, allocations: 26.39 kB / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.006915, allocations: 146.8 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.006939, allocations: 8.469 kB / 0.524 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.00698, allocations: 25.34 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.007131, allocations: 0.4884 MB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.112e-05/0.007162, allocations: 4 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.152e-05/0.007183, allocations: 4 kB / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.436e-05/0.007238, allocations: 19.62 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.00724, allocations: 0.5312 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001097/0.00735, allocations: 49.62 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.007366, allocations: 4.719 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.007371, allocations: 0 / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.007388, allocations: 0.5625 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.007503, allocations: 13.42 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.00751, allocations: 4 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.00755, allocations: 7.984 kB / 0.5246 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.007571, allocations: 5.906 kB / 0.5246 GB, free: 13.66 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 8.444e-05/0.007656, allocations: 156.6 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.00769, allocations: 11.89 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.007843, allocations: 57.61 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.007846, allocations: 0 / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.00785, allocations: 2.75 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.007853, allocations: 0 / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.008009, allocations: 124.6 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.008012, allocations: 0 / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.267e-05/0.008084, allocations: 11.98 kB / 0.5249 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.008091, allocations: 7.938 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.008099, allocations: 0 / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.008102, allocations: 1.75 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.278e-05/0.008115, allocations: 0 / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.008313, allocations: 195.8 kB / 0.5251 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.008327, allocations: 11.88 kB / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.008339, allocations: 0 / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.008447, allocations: 12.92 kB / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.00849, allocations: 7.984 kB / 0.5251 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-06/0.008499, allocations: 0.8125 kB / 0.5251 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.653e-05/0.008546, allocations: 131.2 kB / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.008546, allocations: 0.6562 kB / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001646/0.00871, allocations: 15.89 kB / 0.5253 GB, free: 12.86 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.0001309/0.008841, allocations: 106.8 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.666e-05/0.008938, allocations: 19.97 kB / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.008939, allocations: 0 / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.4e-05/0.008963, allocations: 19.61 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.009166, allocations: 8 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.009468, allocations: 157.3 kB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.568e-05/0.009504, allocations: 59.34 kB / 0.5256 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.596e-05/0.00953, allocations: 11.97 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.009555, allocations: 12.5 kB / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.009556, allocations: 0 / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.00237/0.01193, allocations: 0.8139 MB / 0.5265 GB, free: 11.64 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8646637247875333]