Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001753, allocations: 106 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 196.5 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9793/0.9793, allocations: 143.3 MB / 434 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.89 kB / 0.5146 GB, free: 15.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3259, allocations: 82.03 MB / 0.5947 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002388/0.3284, allocations: 1.597 MB / 0.5962 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00027/0.3287, allocations: 105.6 kB / 0.5963 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.3287, allocations: 3.938 kB / 0.5964 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.3288, allocations: 4.953 kB / 0.5964 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.828e-05/0.3289, allocations: 7.922 kB / 0.5964 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.3291, allocations: 32.88 kB / 0.5964 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.3292, allocations: 47.91 kB / 0.5964 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3293, allocations: 23.19 kB / 0.5965 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.666e-05/0.3293, allocations: 27.91 kB / 0.5965 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.375e-05/0.3294, allocations: 31.84 kB / 0.5965 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.3294, allocations: 5.25 kB / 0.5965 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.188e-05/0.3295, allocations: 15.92 kB / 0.5965 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.754e-05/0.3295, allocations: 19.92 kB / 0.5966 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.3295, allocations: 24.5 kB / 0.5966 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.353e-05/0.3296, allocations: 35.94 kB / 0.5966 GB, free: 14.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3296, allocations: 5.375 kB / 0.5966 GB, free: 14.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3297, allocations: 0 / 0.5966 GB, free: 14.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.3297, allocations: 0 / 0.5966 GB, free: 14.22 MB / 446.1 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.0004275/0.3301, allocations: 382.6 kB / 0.597 GB, free: 13.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3301, allocations: 12.03 kB / 0.597 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.3302, allocations: 9.875 kB / 0.597 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.3303, allocations: 184.1 kB / 0.5972 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3303, allocations: 8.969 kB / 0.5972 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.3303, allocations: 384 / 0.5972 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.3306, allocations: 96.06 kB / 0.5973 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3306, allocations: 192 / 0.5973 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3306, allocations: 3.938 kB / 0.5973 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3306, allocations: 7.062 kB / 0.5973 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.3309, allocations: 75.92 kB / 0.5974 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.3313, allocations: 330.8 kB / 0.5977 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.3315, allocations: 63.91 kB / 0.5977 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.3317, allocations: 37.8 kB / 0.5978 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.3317, allocations: 1.438 kB / 0.5978 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.3317, allocations: 34.56 kB / 0.5978 GB, free: 12.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3317, allocations: 0 / 0.5978 GB, free: 12.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004857/0.3322, allocations: 145.2 kB / 0.598 GB, free: 12.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.3322, allocations: 51.41 kB / 0.598 GB, free: 12.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.498e-05/0.3323, allocations: 113.8 kB / 0.5981 GB, free: 12.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.3323, allocations: 26.33 kB / 0.5981 GB, free: 12.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.3324, allocations: 97.56 kB / 0.5982 GB, free: 12.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.3324, allocations: 7.844 kB / 0.5982 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.3324, allocations: 17.72 kB / 0.5983 GB, free: 12.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.002e-05/0.3325, allocations: 320.2 kB / 0.5986 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.3326, allocations: 31.95 kB / 0.5986 GB, free: 12.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.3327, allocations: 42.05 kB / 0.5986 GB, free: 11.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.333, allocations: 70.56 kB / 0.5987 GB, free: 11.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.333, allocations: 0 / 0.5987 GB, free: 11.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000287/0.3333, allocations: 114.9 kB / 0.5988 GB, free: 11.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3333, allocations: 4 kB / 0.5988 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3333, allocations: 11 kB / 0.5988 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3333, allocations: 3.984 kB / 0.5988 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.3335, allocations: 11.98 kB / 0.5988 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3335, allocations: 0 / 0.5988 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.339e-05/0.3335, allocations: 15.98 kB / 0.5989 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.3336, allocations: 0 / 0.5989 GB, free: 11.74 MB / 446.1 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.027e-05/0.3336, allocations: 119.8 kB / 0.599 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.3337, allocations: 4 kB / 0.599 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/0.334, allocations: 123.7 kB / 0.5991 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.334, allocations: 0 / 0.5991 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.334, allocations: 0 / 0.5991 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.334, allocations: 1.375 kB / 0.5991 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.3342, allocations: 181.5 kB / 0.5993 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3342, allocations: 0 / 0.5993 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.991e-05/0.3343, allocations: 25.31 kB / 0.5993 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.3343, allocations: 0 / 0.5993 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.3343, allocations: 0 / 0.5993 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3343, allocations: 1.469 kB / 0.5993 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3343, allocations: 4 kB / 0.5993 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.3346, allocations: 198 kB / 0.5995 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.3346, allocations: 85.02 kB / 0.5996 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.3346, allocations: 0 / 0.5996 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3347, allocations: 16.83 kB / 0.5996 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.3348, allocations: 7.984 kB / 0.5996 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.3348, allocations: 5.062 kB / 0.5996 GB, free: 10.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.723e-05/0.3348, allocations: 95.64 kB / 0.5997 GB, free: 10.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3348, allocations: 1.344 kB / 0.5997 GB, free: 10.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000225/0.3351, allocations: 8 kB / 0.5997 GB, free: 10.79 MB / 446.1 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.0001005/0.3352, allocations: 100.7 kB / 0.5998 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003199/0.3355, allocations: 81.27 kB / 0.5999 GB, free: 10.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3355, allocations: 0 / 0.5999 GB, free: 10.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.3357, allocations: 41.23 kB / 0.5999 GB, free: 10.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.336, allocations: 11.94 kB / 0.5999 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.3363, allocations: 201.4 kB / 0.6001 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.965e-05/0.3364, allocations: 0.6896 MB / 0.6008 GB, free: 9.609 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.3364, allocations: 11.44 kB / 0.6008 GB, free: 9.598 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3364, allocations: 1.5 kB / 0.6008 GB, free: 9.598 MB / 446.1 MB Notification: Performance of Templates: time 0.002251/0.3387, allocations: 0.9453 MB / 0.6017 GB, free: 8.695 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)