Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001568/0.001568, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001207/0.001207, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.088/1.088, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001636/0.001636, allocations: 247 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7378/0.7378, allocations: 138.4 MB / 402.2 MB, free: 0.5508 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") translateModel(BuildingSystems.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 462.4 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.019e-05, allocations: 2.312 kB / 462.4 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Average): time 0.002808/0.002828, allocations: 1.634 MB / 464 MB, free: 15.84 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003523/0.00318, allocations: 116.3 kB / 464.1 MB, free: 15.76 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.003232, allocations: 3.125 kB / 464.1 MB, free: 15.76 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.003355, allocations: 16.58 kB / 464.1 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.937e-05/0.003394, allocations: 9.453 kB / 464.1 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.003627, allocations: 28.62 kB / 464.2 MB, free: 15.73 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.003736, allocations: 57.33 kB / 464.2 MB, free: 15.72 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.712e-05/0.003833, allocations: 20.05 kB / 464.2 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.401e-05/0.003917, allocations: 31.42 kB / 464.3 MB, free: 15.7 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.315e-05/0.00399, allocations: 24.66 kB / 464.3 MB, free: 15.69 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.004011, allocations: 5.188 kB / 464.3 MB, free: 15.69 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.12e-05/0.004093, allocations: 11.83 kB / 464.3 MB, free: 15.69 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.004136, allocations: 19.22 kB / 464.3 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.004166, allocations: 16.61 kB / 464.4 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.004287, allocations: 50.41 kB / 464.4 MB, free: 15.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004289, allocations: 1.531 kB / 464.4 MB, free: 15.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.00429, allocations: 0 / 464.4 MB, free: 15.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.004294, allocations: 3.938 kB / 464.4 MB, free: 15.65 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.0003476/0.004641, allocations: 273 kB / 464.7 MB, free: 15.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.004676, allocations: 10.19 kB / 464.7 MB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.004713, allocations: 15.09 kB / 464.7 MB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.004855, allocations: 121.3 kB / 464.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.004865, allocations: 3.562 kB / 464.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.004876, allocations: 7.969 kB / 464.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.005035, allocations: 73.66 kB / 464.9 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.005045, allocations: 2.844 kB / 464.9 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.005053, allocations: 384 / 464.9 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.005061, allocations: 2.5 kB / 464.9 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.792e-05/0.005099, allocations: 18.56 kB / 464.9 MB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.005401, allocations: 193.6 kB / 465.1 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.877e-05/0.00546, allocations: 31.89 kB / 465.1 MB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.005481, allocations: 9.547 kB / 465.2 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.005509, allocations: 2.375 kB / 465.2 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.005532, allocations: 39.83 kB / 465.2 MB, free: 14.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.614e-06/0.005534, allocations: 1.969 kB / 465.2 MB, free: 14.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001363/0.00567, allocations: 48.84 kB / 465.2 MB, free: 14.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.0057, allocations: 52.06 kB / 465.3 MB, free: 14.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.625e-05/0.005777, allocations: 122.6 kB / 465.4 MB, free: 14.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.005788, allocations: 29.02 kB / 465.4 MB, free: 14.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.005825, allocations: 87.62 kB / 465.5 MB, free: 14.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.005843, allocations: 8.297 kB / 465.5 MB, free: 14.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.005878, allocations: 22.22 kB / 465.6 MB, free: 14.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.948e-05/0.005968, allocations: 315.1 kB / 465.9 MB, free: 14.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.005982, allocations: 2.156 kB / 465.9 MB, free: 14.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.353e-05/0.005996, allocations: 3.109 kB / 465.9 MB, free: 14.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/0.006031, allocations: 16.47 kB / 465.9 MB, free: 14.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.006033, allocations: 1.438 kB / 465.9 MB, free: 14.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.84e-05/0.006101, allocations: 48.28 kB / 465.9 MB, free: 14.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.006116, allocations: 9.203 kB / 465.9 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.006121, allocations: 0.75 kB / 465.9 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.006136, allocations: 3.734 kB / 466 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.506e-05/0.006211, allocations: 10.33 kB / 466 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.006215, allocations: 1.266 kB / 466 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.006247, allocations: 5.656 kB / 466 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.006263, allocations: 2 kB / 466 MB, free: 14.21 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 6.504e-05/0.006328, allocations: 116.1 kB / 466.1 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.006354, allocations: 8.016 kB / 466.1 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.006704, allocations: 56.22 kB / 466.1 MB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006705, allocations: 4.781 kB / 466.2 MB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.006707, allocations: 0 / 466.2 MB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.006711, allocations: 5.688 kB / 466.2 MB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.006837, allocations: 73.7 kB / 466.2 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.006839, allocations: 1.359 kB / 466.2 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/0.006889, allocations: 12.83 kB / 466.2 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.006891, allocations: 1.891 kB / 466.2 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-06/0.006897, allocations: 1.562 kB / 466.2 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.006901, allocations: 7.922 kB / 466.3 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.006903, allocations: 2.359 kB / 466.3 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.626e-05/0.007, allocations: 136.9 kB / 466.4 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-06/0.007008, allocations: 6.109 kB / 466.4 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.00702, allocations: 1.578 kB / 466.4 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.007089, allocations: 15.56 kB / 466.4 MB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.007128, allocations: 3.828 kB / 466.4 MB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.007136, allocations: 3.922 kB / 466.4 MB, free: 13.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.198e-05/0.007158, allocations: 19.8 kB / 466.4 MB, free: 13.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007158, allocations: 0 / 466.4 MB, free: 13.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000228/0.007386, allocations: 9.25 kB / 466.4 MB, free: 13.8 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 0.0001101/0.007496, allocations: 81.48 kB / 466.5 MB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.205e-05/0.007588, allocations: 63.62 kB / 466.6 MB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.007591, allocations: 5.25 kB / 466.6 MB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.593e-05/0.007617, allocations: 12.22 kB / 466.6 MB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.007811, allocations: 10.28 kB / 466.6 MB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.008111, allocations: 156.3 kB / 466.8 MB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.804e-05/0.008159, allocations: 61.56 kB / 466.8 MB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.804e-05/0.008187, allocations: 3.094 kB / 466.8 MB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.008249, allocations: 55.73 kB / 466.9 MB, free: 13.4 MB / 426.7 MB Notification: Performance of SimCode: time 7.02e-07/0.008249, allocations: 0 / 466.9 MB, free: 13.4 MB / 426.7 MB Notification: Performance of Templates: time 0.002545/0.01079, allocations: 0.7769 MB / 467.7 MB, free: 13.12 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6404094328172505]