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.001281/0.001281, allocations: 106.5 kB / 16.27 MB, free: 6.414 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.00123/0.00123, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.9437/0.9437, allocations: 143.3 MB / 434.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 71.89 kB / 0.5151 GB, free: 15.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3354, allocations: 82.04 MB / 0.5952 GB, free: 16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.0022/0.3376, allocations: 1.519 MB / 0.5967 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002945/0.3379, allocations: 120.5 kB / 0.5968 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.338, allocations: 0 / 0.5968 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.3381, allocations: 11.86 kB / 0.5968 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.693e-05/0.3382, allocations: 5.219 kB / 0.5968 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.3384, allocations: 23.97 kB / 0.5968 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.274e-05/0.3385, allocations: 55.84 kB / 0.5969 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3386, allocations: 30.77 kB / 0.5969 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.01e-05/0.3387, allocations: 28.86 kB / 0.5969 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.3387, allocations: 31.84 kB / 0.597 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.3388, allocations: 4 kB / 0.597 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.619e-05/0.3388, allocations: 9.156 kB / 0.597 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.3389, allocations: 19.92 kB / 0.597 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.3389, allocations: 27.86 kB / 0.597 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.339, allocations: 57.3 kB / 0.5971 GB, free: 14.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.339, allocations: 4 kB / 0.5971 GB, free: 14.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.339, allocations: 0 / 0.5971 GB, free: 14.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.339, allocations: 0 / 0.5971 GB, free: 14.06 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.0004576/0.3395, allocations: 384.5 kB / 0.5975 GB, free: 13.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.3395, allocations: 9.156 kB / 0.5975 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.3396, allocations: 8.844 kB / 0.5975 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.3397, allocations: 180.2 kB / 0.5976 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3397, allocations: 9.469 kB / 0.5976 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.3397, allocations: 384 / 0.5976 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.34, allocations: 91.41 kB / 0.5977 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.34, allocations: 192 / 0.5977 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.3401, allocations: 4.438 kB / 0.5977 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3401, allocations: 3.938 kB / 0.5977 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.3404, allocations: 82.23 kB / 0.5978 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.3408, allocations: 331.2 kB / 0.5981 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.341, allocations: 59.98 kB / 0.5982 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.3412, allocations: 45.38 kB / 0.5982 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.3412, allocations: 5.078 kB / 0.5982 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.3412, allocations: 35.22 kB / 0.5983 GB, free: 12.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3412, allocations: 0 / 0.5983 GB, free: 12.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005282/0.3418, allocations: 136.3 kB / 0.5984 GB, free: 12.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.3418, allocations: 59.39 kB / 0.5985 GB, free: 12.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.511e-05/0.3419, allocations: 115.3 kB / 0.5986 GB, free: 12.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.385e-06/0.3419, allocations: 25.7 kB / 0.5986 GB, free: 12.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/0.3419, allocations: 92.05 kB / 0.5987 GB, free: 12.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.3419, allocations: 13.08 kB / 0.5987 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.342, allocations: 17.72 kB / 0.5987 GB, free: 12.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.34e-05/0.342, allocations: 317.2 kB / 0.599 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.3422, allocations: 39.95 kB / 0.5991 GB, free: 11.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.3423, allocations: 36.92 kB / 0.5991 GB, free: 11.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.3426, allocations: 73.88 kB / 0.5992 GB, free: 11.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3426, allocations: 1.5 kB / 0.5992 GB, free: 11.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003162/0.3429, allocations: 106.2 kB / 0.5993 GB, free: 11.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3429, allocations: 4 kB / 0.5993 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.343, allocations: 1.531 kB / 0.5993 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.343, allocations: 0 / 0.5993 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3431, allocations: 19.97 kB / 0.5993 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3431, allocations: 1.375 kB / 0.5993 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.551e-05/0.3432, allocations: 15.98 kB / 0.5993 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.3432, allocations: 0.6875 kB / 0.5993 GB, free: 11.59 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.653e-05/0.3433, allocations: 115.2 kB / 0.5994 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.3433, allocations: 8.312 kB / 0.5994 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003499/0.3437, allocations: 118.9 kB / 0.5995 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3437, allocations: 4.75 kB / 0.5995 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3437, allocations: 0 / 0.5995 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3437, allocations: 1.5 kB / 0.5995 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.3438, allocations: 181.5 kB / 0.5997 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3438, allocations: 0 / 0.5997 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.231e-05/0.3439, allocations: 23.91 kB / 0.5997 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3439, allocations: 1.219 kB / 0.5997 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.344, allocations: 0 / 0.5997 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.344, allocations: 0 / 0.5997 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.344, allocations: 0.9062 kB / 0.5997 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.3443, allocations: 201.6 kB / 0.5999 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.3443, allocations: 85.02 kB / 0.6 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.3444, allocations: 1.5 kB / 0.6 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3445, allocations: 15.92 kB / 0.6 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.3445, allocations: 10.3 kB / 0.6 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.3445, allocations: 0 / 0.6 GB, free: 10.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.827e-05/0.3446, allocations: 91.22 kB / 0.6001 GB, free: 10.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3446, allocations: 4 kB / 0.6001 GB, free: 10.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.3448, allocations: 11.98 kB / 0.6001 GB, free: 10.64 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.000125/0.3449, allocations: 100.6 kB / 0.6002 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003492/0.3453, allocations: 77.36 kB / 0.6003 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3453, allocations: 0 / 0.6003 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.3455, allocations: 41.3 kB / 0.6004 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.3458, allocations: 9.25 kB / 0.6004 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.3461, allocations: 185.3 kB / 0.6005 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.3462, allocations: 0.6924 MB / 0.6012 GB, free: 9.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.3463, allocations: 8.688 kB / 0.6012 GB, free: 9.473 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3463, allocations: 0 / 0.6012 GB, free: 9.473 MB / 446.1 MB Notification: Performance of Templates: time 0.002292/0.3486, allocations: 0.9492 MB / 0.6021 GB, free: 8.566 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)