Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.246/2.246, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001352/0.001352, allocations: 184 kB / 326.3 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.697/2.697, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001422/0.001422, allocations: 99.59 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004964, allocations: 15.22 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2229, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002064/0.225, allocations: 1.242 MB / 0.9007 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003592/0.2254, allocations: 112.5 kB / 0.9008 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/0.2255, allocations: 0 / 0.9008 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.2256, allocations: 11.94 kB / 0.9008 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.366e-05/0.2257, allocations: 3.938 kB / 0.9008 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.2259, allocations: 27.97 kB / 0.9009 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.264e-05/0.226, allocations: 51.83 kB / 0.9009 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2261, allocations: 15.98 kB / 0.9009 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.41e-05/0.2262, allocations: 19.92 kB / 0.9009 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.649e-05/0.2263, allocations: 27.91 kB / 0.901 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.2263, allocations: 4 kB / 0.901 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.136e-05/0.2264, allocations: 8 kB / 0.901 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.171e-05/0.2264, allocations: 11.92 kB / 0.901 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.2265, allocations: 33.7 kB / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.2266, allocations: 39.86 kB / 0.9011 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.2266, allocations: 0 / 0.9011 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2266, allocations: 0 / 0.9011 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2266, allocations: 0 / 0.9011 GB, free: 63.91 MB / 0.6042 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.0006276/0.2273, allocations: 387.5 kB / 0.9014 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.2273, allocations: 11.97 kB / 0.9014 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.2274, allocations: 16.77 kB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.2275, allocations: 176.3 kB / 0.9016 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.2276, allocations: 8.359 kB / 0.9016 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.2276, allocations: 4.375 kB / 0.9016 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.228, allocations: 98.2 kB / 0.9017 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.228, allocations: 192 / 0.9017 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.228, allocations: 7.938 kB / 0.9017 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2281, allocations: 0 / 0.9017 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005328/0.2286, allocations: 99.86 kB / 0.9018 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006657/0.2293, allocations: 344.7 kB / 0.9022 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.2296, allocations: 70.56 kB / 0.9022 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.2299, allocations: 52.92 kB / 0.9023 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.959e-05/0.23, allocations: 4 kB / 0.9023 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.23, allocations: 38.48 kB / 0.9023 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.856e-06/0.23, allocations: 0 / 0.9023 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0008985/0.2309, allocations: 177.4 kB / 0.9025 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.231, allocations: 51.41 kB / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.2311, allocations: 117.7 kB / 0.9027 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.2311, allocations: 25.7 kB / 0.9027 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.2312, allocations: 96.12 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.2312, allocations: 15.73 kB / 0.9028 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.2312, allocations: 0 / 0.9028 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.512e-05/0.2313, allocations: 322.8 kB / 0.9031 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.2316, allocations: 47.95 kB / 0.9031 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.2318, allocations: 43.97 kB / 0.9032 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.2321, allocations: 43.95 kB / 0.9032 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.2321, allocations: 0 / 0.9032 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005989/0.2327, allocations: 125.6 kB / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.2328, allocations: 4 kB / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2328, allocations: 0 / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.2328, allocations: 8 kB / 0.9034 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.233, allocations: 23.92 kB / 0.9034 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.2331, allocations: 0 / 0.9034 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.2332, allocations: 15.98 kB / 0.9034 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.2333, allocations: 0 / 0.9034 GB, free: 61.31 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.2334, allocations: 130.8 kB / 0.9035 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.2334, allocations: 7.906 kB / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006482/0.2341, allocations: 133.8 kB / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2341, allocations: 7.984 kB / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2341, allocations: 0 / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.2341, allocations: 81.06 kB / 0.9037 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.2342, allocations: 3.984 kB / 0.9037 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.2344, allocations: 23.92 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.2344, allocations: 7.984 kB / 0.9038 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007292/0.2352, allocations: 216.8 kB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006349/0.2358, allocations: 298.7 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000282/0.2361, allocations: 47.97 kB / 0.9043 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.196e-05/0.2362, allocations: 91.27 kB / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of Backend: time 2.234e-06/0.2362, allocations: 0 / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007009/0.2369, allocations: 134.3 kB / 0.9045 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005339/0.2375, allocations: 0.5996 MB / 0.9051 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of Templates: time 0.003835/0.2413, allocations: 0.7949 MB / 0.9059 GB, free: 58.65 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)