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.001742/0.001742, allocations: 108.3 kB / 19.72 MB, free: 416 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.002099/0.002099, allocations: 213.8 kB / 23.02 MB, free: 2.957 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.665/1.665, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] 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 3.288/3.288, allocations: 0.5045 GB / 0.8104 GB, free: 2.824 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.004964/0.004964, allocations: 71.89 kB / 1.177 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8139/0.8188, allocations: 180 MB / 1.353 GB, free: 1.652 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.003928/0.8228, allocations: 1.542 MB / 1.354 GB, free: 104 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.000467/0.8232, allocations: 115.7 kB / 1.355 GB, free: 15.98 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.8233, allocations: 3.938 kB / 1.355 GB, free: 15.98 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.8235, allocations: 11.88 kB / 1.355 GB, free: 15.97 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 5.417e-05/0.8235, allocations: 7.938 kB / 1.355 GB, free: 15.96 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.8238, allocations: 27.91 kB / 1.355 GB, free: 15.94 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.8239, allocations: 55.77 kB / 1.355 GB, free: 15.88 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.8241, allocations: 27.97 kB / 1.355 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.065e-05/0.8241, allocations: 27.91 kB / 1.355 GB, free: 15.83 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.421e-05/0.8242, allocations: 23.91 kB / 1.355 GB, free: 15.8 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.8243, allocations: 11.94 kB / 1.355 GB, free: 15.79 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-05/0.8243, allocations: 12 kB / 1.355 GB, free: 15.78 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 5.17e-05/0.8244, allocations: 11.98 kB / 1.355 GB, free: 15.77 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 7.02e-05/0.8245, allocations: 27.86 kB / 1.355 GB, free: 15.74 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.8247, allocations: 62.55 kB / 1.355 GB, free: 15.68 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.8247, allocations: 0 / 1.355 GB, free: 15.68 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8247, allocations: 0 / 1.355 GB, free: 15.68 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.8247, allocations: 0 / 1.355 GB, free: 15.68 MB / 1.042 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.0008649/0.8255, allocations: 303.9 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.8256, allocations: 12.92 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.8256, allocations: 8.891 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.8259, allocations: 138.3 kB / 1.355 GB, free: 15.18 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.8259, allocations: 384 / 1.355 GB, free: 15.18 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.8259, allocations: 4.375 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.8263, allocations: 90.14 kB / 1.355 GB, free: 15.08 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.8263, allocations: 192 / 1.355 GB, free: 15.08 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.8264, allocations: 3.938 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.8264, allocations: 0 / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004429/0.8268, allocations: 87.84 kB / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000701/0.8275, allocations: 260.4 kB / 1.356 GB, free: 14.7 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.8278, allocations: 58.56 kB / 1.356 GB, free: 14.64 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.828, allocations: 44.92 kB / 1.356 GB, free: 14.59 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.904e-05/0.8281, allocations: 11.97 kB / 1.356 GB, free: 14.58 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.8281, allocations: 30.56 kB / 1.356 GB, free: 14.54 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.8281, allocations: 0 / 1.356 GB, free: 14.54 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0007668/0.8289, allocations: 133.6 kB / 1.356 GB, free: 14.4 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.8289, allocations: 51.41 kB / 1.356 GB, free: 14.34 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.8291, allocations: 117.8 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.8291, allocations: 25.7 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.8292, allocations: 100 kB / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.8292, allocations: 15.89 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/0.8293, allocations: 13.72 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002191/0.8295, allocations: 326.7 kB / 1.357 GB, free: 13.72 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.8297, allocations: 31.97 kB / 1.357 GB, free: 13.69 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.8299, allocations: 39.95 kB / 1.357 GB, free: 13.65 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.8303, allocations: 68.78 kB / 1.357 GB, free: 13.58 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8303, allocations: 0 / 1.357 GB, free: 13.58 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004734/0.8308, allocations: 109.6 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.8308, allocations: 4 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.8308, allocations: 3.938 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.8308, allocations: 4 kB / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.831, allocations: 11.98 kB / 1.357 GB, free: 13.44 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.831, allocations: 3.938 kB / 1.357 GB, free: 13.44 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.8311, allocations: 11.98 kB / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.8311, allocations: 0 / 1.357 GB, free: 13.43 MB / 1.042 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 0.0001352/0.8313, allocations: 126.3 kB / 1.357 GB, free: 13.29 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.8313, allocations: 7.953 kB / 1.357 GB, free: 13.29 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/0.8318, allocations: 109.6 kB / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.8318, allocations: 0 / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8318, allocations: 0 / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.8318, allocations: 3.984 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.8321, allocations: 121.2 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.8321, allocations: 4 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.8322, allocations: 19.92 kB / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.8322, allocations: 0 / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.8322, allocations: 3.984 kB / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.8322, allocations: 7.938 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8322, allocations: 0 / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005394/0.8328, allocations: 203.4 kB / 1.357 GB, free: 12.77 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.8328, allocations: 7.984 kB / 1.357 GB, free: 12.76 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.8328, allocations: 432 / 1.357 GB, free: 12.76 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.833, allocations: 11.98 kB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.833, allocations: 7.984 kB / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.8331, allocations: 4 kB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of sorting global known variables: time 8.061e-05/0.8331, allocations: 87.28 kB / 1.358 GB, free: 12.65 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8331, allocations: 0 / 1.358 GB, free: 12.65 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003888/0.8335, allocations: 15.89 kB / 1.358 GB, free: 12.63 MB / 1.042 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.0001765/0.8337, allocations: 103.2 kB / 1.358 GB, free: 12.52 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0004916/0.8342, allocations: 79.84 kB / 1.358 GB, free: 12.45 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8342, allocations: 0 / 1.358 GB, free: 12.45 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.000329/0.8345, allocations: 39.95 kB / 1.358 GB, free: 12.41 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.8349, allocations: 14.5 kB / 1.358 GB, free: 12.39 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.8354, allocations: 149.3 kB / 1.358 GB, free: 12.22 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.8355, allocations: 75.33 kB / 1.358 GB, free: 12.13 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 5.855e-05/0.8355, allocations: 7.984 kB / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.8356, allocations: 11.44 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of SimCode: time 3.91e-07/0.8356, allocations: 0 / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of Templates: time 0.004767/0.8403, allocations: 0.8374 MB / 1.359 GB, free: 11.29 MB / 1.042 GB " [Timeout remaining time 299] 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: 9.919305795803666]