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.001063/0.001063, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001561/0.002624, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009877/0.0009877, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0013/0.002287, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 1.074/1.074, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1117/1.185, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.8354/0.8354, allocations: 154.6 MB / 398.5 MB, free: 0.5195 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2805/1.116, allocations: 49.04 MB / 447.6 MB, free: 6.711 MB / 426.7 MB " [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.663e-06/1.663e-06, allocations: 0.6562 kB / 448.9 MB, free: 5.41 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.273e-05, allocations: 3.719 kB / 448.9 MB, free: 5.406 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002924/0.002946, allocations: 1.637 MB / 450.5 MB, free: 3.801 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002629/0.003209, allocations: 117.7 kB / 450.6 MB, free: 3.688 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.549e-05/0.003255, allocations: 0 / 450.6 MB, free: 3.688 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 7.441e-05/0.003329, allocations: 16.95 kB / 450.7 MB, free: 3.672 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.724e-05/0.003356, allocations: 3.719 kB / 450.7 MB, free: 3.672 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.003555, allocations: 36.73 kB / 450.7 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.00367, allocations: 57.48 kB / 450.8 MB, free: 3.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.003771, allocations: 17.83 kB / 450.8 MB, free: 3.574 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.003874, allocations: 42.33 kB / 450.8 MB, free: 3.539 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.932e-05/0.003953, allocations: 26.8 kB / 450.8 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.003972, allocations: 4 kB / 450.8 MB, free: 3.508 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.79e-05/0.00406, allocations: 9.688 kB / 450.9 MB, free: 3.5 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.034e-05/0.004101, allocations: 10.95 kB / 450.9 MB, free: 3.492 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.004135, allocations: 14.95 kB / 450.9 MB, free: 3.48 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.004268, allocations: 39.62 kB / 450.9 MB, free: 3.445 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.726e-05/0.004285, allocations: 0 / 450.9 MB, free: 3.445 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.004286, allocations: 2.578 kB / 450.9 MB, free: 3.445 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.217e-05/0.004308, allocations: 0 / 450.9 MB, free: 3.445 MB / 426.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.0004548/0.004763, allocations: 282.9 kB / 451.2 MB, free: 3.145 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.0048, allocations: 12.03 kB / 451.2 MB, free: 3.133 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.004841, allocations: 10.14 kB / 451.2 MB, free: 3.125 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.005002, allocations: 129.5 kB / 451.3 MB, free: 2.977 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.005015, allocations: 8.375 kB / 451.4 MB, free: 2.969 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.005025, allocations: 1.562 kB / 451.4 MB, free: 2.969 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.005201, allocations: 73.75 kB / 451.4 MB, free: 2.887 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.005211, allocations: 4.188 kB / 451.4 MB, free: 2.883 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.005219, allocations: 1.062 kB / 451.4 MB, free: 2.883 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.005225, allocations: 1.031 kB / 451.4 MB, free: 2.883 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.574e-05/0.005271, allocations: 19.81 kB / 451.5 MB, free: 2.863 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.005553, allocations: 191.1 kB / 451.6 MB, free: 2.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.027e-05/0.005613, allocations: 31.91 kB / 451.7 MB, free: 2.621 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.803e-05/0.005631, allocations: 9.641 kB / 451.7 MB, free: 2.609 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.005669, allocations: 4 kB / 451.7 MB, free: 2.605 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.005688, allocations: 36.47 kB / 451.7 MB, free: 2.562 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.005689, allocations: 0 / 451.7 MB, free: 2.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001054/0.005795, allocations: 41.78 kB / 451.8 MB, free: 2.516 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.005825, allocations: 55.41 kB / 451.8 MB, free: 2.449 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.596e-05/0.005881, allocations: 122.6 kB / 451.9 MB, free: 2.316 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.005892, allocations: 26.42 kB / 452 MB, free: 2.285 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.005925, allocations: 100 kB / 452.1 MB, free: 2.184 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.005942, allocations: 8.484 kB / 452.1 MB, free: 2.176 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.005969, allocations: 22.92 kB / 452.1 MB, free: 2.148 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.679e-05/0.006046, allocations: 314.8 kB / 452.4 MB, free: 1.832 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.006059, allocations: 4 kB / 452.4 MB, free: 1.828 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.056e-05/0.006069, allocations: 2.188 kB / 452.4 MB, free: 1.828 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.929e-05/0.006098, allocations: 19.67 kB / 452.4 MB, free: 1.805 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.0061, allocations: 0 / 452.4 MB, free: 1.805 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.27e-05/0.006153, allocations: 42.84 kB / 452.5 MB, free: 1.758 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.006167, allocations: 11.94 kB / 452.5 MB, free: 1.746 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.006172, allocations: 3.938 kB / 452.5 MB, free: 1.742 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.006181, allocations: 0.5625 kB / 452.5 MB, free: 1.742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.006265, allocations: 17.64 kB / 452.5 MB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.006268, allocations: 0 / 452.5 MB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.006292, allocations: 9.344 kB / 452.5 MB, free: 1.719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.006308, allocations: 4 kB / 452.5 MB, free: 1.715 MB / 426.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 5.016e-05/0.006359, allocations: 109.9 kB / 452.6 MB, free: 1.598 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.006373, allocations: 7.938 kB / 452.6 MB, free: 1.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.1e-05/0.006454, allocations: 49.67 kB / 452.7 MB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.006456, allocations: 0.6562 kB / 452.7 MB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.006458, allocations: 0 / 452.7 MB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.006461, allocations: 1.25 kB / 452.7 MB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.509e-05/0.006546, allocations: 77.88 kB / 452.8 MB, free: 1.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006547, allocations: 0 / 452.8 MB, free: 1.441 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.006586, allocations: 17.48 kB / 452.8 MB, free: 1.426 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-06/0.006592, allocations: 3.953 kB / 452.8 MB, free: 1.422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.006595, allocations: 4 kB / 452.8 MB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.006601, allocations: 4.547 kB / 452.8 MB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.006602, allocations: 0.9062 kB / 452.8 MB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006603, allocations: 0 / 452.8 MB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.747e-05/0.00668, allocations: 143.5 kB / 452.9 MB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-06/0.006689, allocations: 2.516 kB / 452.9 MB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.543e-05/0.006724, allocations: 7.938 kB / 452.9 MB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.006755, allocations: 8.891 kB / 452.9 MB, free: 1.242 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.006759, allocations: 0 / 452.9 MB, free: 1.242 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.518e-05/0.006774, allocations: 25.41 kB / 453 MB, free: 1.215 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006774, allocations: 0 / 453 MB, free: 1.215 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001236/0.006898, allocations: 12.56 kB / 453 MB, free: 1.203 MB / 426.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 9.984e-05/0.006997, allocations: 80.98 kB / 453.1 MB, free: 1.117 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.537e-05/0.007073, allocations: 64.2 kB / 453.1 MB, free: 1.051 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.007078, allocations: 0.625 kB / 453.1 MB, free: 1.051 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.756e-05/0.007096, allocations: 12.86 kB / 453.1 MB, free: 1.035 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.007244, allocations: 8.625 kB / 453.1 MB, free: 1.027 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.007633, allocations: 162.8 kB / 453.3 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.539e-05/0.007668, allocations: 65.14 kB / 453.4 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.334e-05/0.007691, allocations: 7.984 kB / 453.4 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.007739, allocations: 59.31 kB / 453.4 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.00774, allocations: 0.7812 kB / 453.4 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of Templates: time 0.002432/0.01017, allocations: 0.7807 MB / 454.2 MB, free: 15.96 MB / 442.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.6525247879326344]