Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009218/0.0009218, allocations: 85.45 kB / 21.62 MB, free: 2.84 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.0009765/0.0009765, allocations: 171.9 kB / 25.05 MB, free: 9.211 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.9326/0.9326, allocations: 177.1 MB / 205.5 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.928/1.928, allocations: 389.6 MB / 0.6363 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.7761 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/2.993e-05, allocations: 6.906 kB / 0.7761 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002299/0.002329, allocations: 1.642 MB / 0.7777 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003047/0.002633, allocations: 117.1 kB / 0.7778 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.002682, allocations: 7.938 kB / 0.7779 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.002806, allocations: 4.703 kB / 0.7779 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.59e-05/0.002832, allocations: 8.672 kB / 0.7779 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.003041, allocations: 31.94 kB / 0.7779 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.782e-05/0.003139, allocations: 58.31 kB / 0.778 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.576e-05/0.003224, allocations: 20.73 kB / 0.778 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.495e-05/0.003289, allocations: 30.38 kB / 0.778 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.384e-05/0.003343, allocations: 26.02 kB / 0.778 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.003358, allocations: 4 kB / 0.778 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.276e-05/0.003431, allocations: 19.92 kB / 0.7781 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.338e-05/0.003465, allocations: 19.92 kB / 0.7781 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.003485, allocations: 11.98 kB / 0.7781 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.00359, allocations: 51.75 kB / 0.7781 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.003592, allocations: 6.75 kB / 0.7781 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003592, allocations: 0 / 0.7781 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.003596, allocations: 0 / 0.7781 GB, free: 3.25 MB / 0.7292 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.000302/0.003898, allocations: 268.7 kB / 0.7784 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.003932, allocations: 9.344 kB / 0.7784 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.003959, allocations: 8.922 kB / 0.7784 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.004075, allocations: 124.7 kB / 0.7785 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.004083, allocations: 8.375 kB / 0.7785 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.004093, allocations: 4.375 kB / 0.7785 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.00422, allocations: 77.69 kB / 0.7786 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.004226, allocations: 192 / 0.7786 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-06/0.004233, allocations: 384 / 0.7786 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.004237, allocations: 384 / 0.7786 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.55e-05/0.004262, allocations: 15.92 kB / 0.7786 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/0.0045, allocations: 194.9 kB / 0.7788 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.073e-05/0.004551, allocations: 27.44 kB / 0.7788 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.00457, allocations: 8.859 kB / 0.7789 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.004597, allocations: 4.5 kB / 0.7789 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.004616, allocations: 38.5 kB / 0.7789 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.004617, allocations: 0.7812 kB / 0.7789 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001089/0.004726, allocations: 45.81 kB / 0.7789 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.004754, allocations: 56.02 kB / 0.779 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.453e-05/0.004809, allocations: 115.9 kB / 0.7791 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.709e-06/0.004819, allocations: 25.7 kB / 0.7791 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.004854, allocations: 96.08 kB / 0.7792 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.004871, allocations: 13.03 kB / 0.7792 GB, free: 2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.004896, allocations: 17.66 kB / 0.7792 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.164e-05/0.004968, allocations: 318.8 kB / 0.7796 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.004978, allocations: 0.9375 kB / 0.7796 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.098e-05/0.004989, allocations: 7.984 kB / 0.7796 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.128e-05/0.00502, allocations: 12.22 kB / 0.7796 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005022, allocations: 0 / 0.7796 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.465e-05/0.005076, allocations: 47.22 kB / 0.7796 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.005087, allocations: 7.938 kB / 0.7796 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.005092, allocations: 0 / 0.7796 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.982e-06/0.005098, allocations: 0 / 0.7796 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.262e-05/0.00516, allocations: 12.83 kB / 0.7796 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.005162, allocations: 0 / 0.7796 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.005186, allocations: 17.23 kB / 0.7797 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.005201, allocations: 4 kB / 0.7797 GB, free: 1.543 MB / 0.7292 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 5.29e-05/0.005253, allocations: 110.4 kB / 0.7798 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.005271, allocations: 7.938 kB / 0.7798 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.141e-05/0.005342, allocations: 53.61 kB / 0.7798 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.005344, allocations: 0 / 0.7798 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.005345, allocations: 0 / 0.7798 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.005349, allocations: 5.219 kB / 0.7798 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.305e-05/0.005432, allocations: 77.83 kB / 0.7799 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.005434, allocations: 0 / 0.7799 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.192e-05/0.005465, allocations: 12.64 kB / 0.7799 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005467, allocations: 0 / 0.7799 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-06/0.005471, allocations: 0.8438 kB / 0.7799 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.005473, allocations: 3.938 kB / 0.7799 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005473, allocations: 0.5312 kB / 0.7799 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.785e-05/0.005551, allocations: 139.9 kB / 0.7801 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.00556, allocations: 13.77 kB / 0.7801 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-06/0.005568, allocations: 0 / 0.7801 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.281e-05/0.0056, allocations: 7.938 kB / 0.7801 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.005631, allocations: 12.02 kB / 0.7801 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.005637, allocations: 1 kB / 0.7801 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.69e-05/0.005654, allocations: 32.81 kB / 0.7801 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005654, allocations: 0 / 0.7801 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001206/0.005774, allocations: 9.094 kB / 0.7801 GB, free: 1.023 MB / 0.7292 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 9.261e-05/0.005867, allocations: 81.58 kB / 0.7802 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.378e-05/0.005941, allocations: 63.58 kB / 0.7803 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.005943, allocations: 0 / 0.7803 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.816e-05/0.005961, allocations: 16.8 kB / 0.7803 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.006098, allocations: 9.031 kB / 0.7803 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.006332, allocations: 151.3 kB / 0.7804 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.395e-05/0.006366, allocations: 63.34 kB / 0.7805 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.982e-05/0.006386, allocations: 1.031 kB / 0.7805 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.006432, allocations: 64.89 kB / 0.7806 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of SimCode: time 8.42e-07/0.006432, allocations: 0 / 0.7806 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of Templates: time 0.002251/0.008684, allocations: 0.7722 MB / 0.7813 GB, free: 15.8 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8850394720211625]