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.001527/0.001527, allocations: 81.17 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.001808/0.001808, allocations: 169 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.9863/0.9863, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.8233/0.8233, allocations: 154.9 MB / 415.1 MB, free: 264 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.513e-06/1.513e-06, allocations: 0 / 0.5211 GB, free: 1.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.486e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.005679/0.005704, allocations: 1.573 MB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0003132/0.006017, allocations: 127.4 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.006067, allocations: 0 / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.006184, allocations: 12.7 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.112e-05/0.006215, allocations: 9.156 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.006444, allocations: 23.97 kB / 0.5228 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.263e-05/0.006537, allocations: 55.84 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/0.006636, allocations: 26.53 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.196e-05/0.006708, allocations: 31.91 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.889e-05/0.006766, allocations: 19.97 kB / 0.523 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.006784, allocations: 4 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.174e-05/0.006845, allocations: 15.94 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.698e-05/0.006882, allocations: 19.91 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.006908, allocations: 19.92 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.007021, allocations: 48.31 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.007023, allocations: 0 / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.007024, allocations: 1.406 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.007027, allocations: 0 / 0.5231 GB, free: 15.52 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.003391/0.01042, allocations: 392.5 kB / 0.5234 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.01047, allocations: 16.98 kB / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.01052, allocations: 8.891 kB / 0.5235 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.01066, allocations: 133.5 kB / 0.5236 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.01068, allocations: 4.312 kB / 0.5236 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.01069, allocations: 4.375 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.01085, allocations: 67.94 kB / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.01086, allocations: 192 / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.01087, allocations: 5.344 kB / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.01088, allocations: 4.375 kB / 0.5237 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.14e-05/0.01091, allocations: 11.92 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.01124, allocations: 281.5 kB / 0.524 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.029e-05/0.0113, allocations: 36.27 kB / 0.524 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.01132, allocations: 11.78 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.01136, allocations: 15.95 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.01138, allocations: 41.95 kB / 0.5241 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.01139, allocations: 0 / 0.5241 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001398/0.01153, allocations: 47.5 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.01155, allocations: 51.41 kB / 0.5242 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.241e-05/0.01163, allocations: 173 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.01165, allocations: 25.7 kB / 0.5243 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.0117, allocations: 146.8 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.01172, allocations: 13.52 kB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.01176, allocations: 23.38 kB / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.01189, allocations: 0.4923 MB / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.01191, allocations: 3.938 kB / 0.525 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.33e-05/0.01192, allocations: 5.312 kB / 0.525 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.114e-05/0.01195, allocations: 11.69 kB / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01195, allocations: 0 / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.438e-05/0.01203, allocations: 50.22 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.01204, allocations: 6.5 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01204, allocations: 0.75 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.01205, allocations: 4 kB / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/0.01213, allocations: 13.45 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.01213, allocations: 0 / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.844e-05/0.01216, allocations: 7.938 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.01217, allocations: 1.75 kB / 0.5251 GB, free: 13.26 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 7.517e-05/0.01225, allocations: 160.6 kB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.01227, allocations: 11.89 kB / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.227e-05/0.01237, allocations: 50.02 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.01237, allocations: 6.25 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.01237, allocations: 0 / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01238, allocations: 3.984 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.0125, allocations: 101.2 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.0125, allocations: 0 / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.01254, allocations: 11.98 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.01254, allocations: 6.688 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.01255, allocations: 8 kB / 0.5254 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01255, allocations: 3.938 kB / 0.5255 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01255, allocations: 0 / 0.5255 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.01266, allocations: 191.8 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.01267, allocations: 4 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.01268, allocations: 7.984 kB / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.15e-05/0.01275, allocations: 13.38 kB / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.01278, allocations: 3.984 kB / 0.5257 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.01279, allocations: 4 kB / 0.5257 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.248e-05/0.01283, allocations: 127.2 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01283, allocations: 0.9375 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002298/0.01306, allocations: 19.89 kB / 0.5258 GB, free: 12.48 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.003136/0.01619, allocations: 96.19 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.02e-05/0.01627, allocations: 28.38 kB / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01628, allocations: 0 / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.549e-05/0.0163, allocations: 17.75 kB / 0.5259 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.01654, allocations: 4 kB / 0.5259 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.01682, allocations: 154 kB / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.392e-05/0.01687, allocations: 59.97 kB / 0.5262 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.797e-05/0.0169, allocations: 8.672 kB / 0.5262 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.01695, allocations: 70.86 kB / 0.5262 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.01695, allocations: 0 / 0.5262 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of Templates: time 0.005832/0.02279, allocations: 0.8916 MB / 0.5271 GB, free: 11.14 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.768119528423995]