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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001126/0.001127, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01185/0.01185, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.443/1.443, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 1.098/1.098, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003886, allocations: 8 kB / 0.5164 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1906, allocations: 83.41 MB / 0.5978 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.001732/0.1923, allocations: 1.256 MB / 0.5991 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003798/0.1927, allocations: 116.5 kB / 0.5992 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.1928, allocations: 0 / 0.5992 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.1929, allocations: 7.922 kB / 0.5992 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.98e-05/0.193, allocations: 3.938 kB / 0.5992 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.1932, allocations: 23.97 kB / 0.5992 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.867e-05/0.1933, allocations: 51.84 kB / 0.5993 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1934, allocations: 20 kB / 0.5993 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.76e-05/0.1935, allocations: 23.91 kB / 0.5993 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.783e-05/0.1936, allocations: 27.84 kB / 0.5993 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1936, allocations: 0 / 0.5993 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.79e-05/0.1936, allocations: 12 kB / 0.5993 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.1937, allocations: 15.92 kB / 0.5994 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.855e-05/0.1938, allocations: 49.56 kB / 0.5994 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.1939, allocations: 55.78 kB / 0.5995 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1939, allocations: 0 / 0.5995 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1939, allocations: 0 / 0.5995 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.1939, allocations: 0 / 0.5995 GB, free: 6.082 MB / 0.4981 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.0005723/0.1945, allocations: 379.6 kB / 0.5998 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1946, allocations: 8.031 kB / 0.5998 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.1946, allocations: 4.938 kB / 0.5998 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.1948, allocations: 192.1 kB / 0.6 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1948, allocations: 4.375 kB / 0.6 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1948, allocations: 4.375 kB / 0.6 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.1952, allocations: 102.2 kB / 0.6001 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1952, allocations: 192 / 0.6001 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1952, allocations: 3.938 kB / 0.6001 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1952, allocations: 0 / 0.6001 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003561/0.1956, allocations: 115.8 kB / 0.6002 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.1962, allocations: 332.7 kB / 0.6006 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.1964, allocations: 78.5 kB / 0.6006 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.1966, allocations: 52.91 kB / 0.6007 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.1966, allocations: 3.938 kB / 0.6007 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1967, allocations: 34.56 kB / 0.6007 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1967, allocations: 0 / 0.6007 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005975/0.1973, allocations: 173.5 kB / 0.6009 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.1973, allocations: 55.34 kB / 0.6009 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.899e-05/0.1974, allocations: 121.8 kB / 0.6011 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1974, allocations: 29.7 kB / 0.6011 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.931e-05/0.1975, allocations: 92.06 kB / 0.6012 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.1975, allocations: 11.81 kB / 0.6012 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.1975, allocations: 9.719 kB / 0.6012 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.1977, allocations: 322.8 kB / 0.6015 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.1978, allocations: 43.97 kB / 0.6015 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.198, allocations: 47.95 kB / 0.6016 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.1983, allocations: 96.78 kB / 0.6017 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1983, allocations: 0 / 0.6017 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003565/0.1987, allocations: 125.5 kB / 0.6018 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1987, allocations: 12 kB / 0.6018 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1987, allocations: 0 / 0.6018 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1988, allocations: 0 / 0.6018 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.1989, allocations: 19.98 kB / 0.6018 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1989, allocations: 0 / 0.6018 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.984e-05/0.199, allocations: 19.98 kB / 0.6018 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.199, allocations: 0 / 0.6018 GB, free: 3.41 MB / 0.4981 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.0001079/0.1992, allocations: 121.8 kB / 0.602 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.1992, allocations: 7.906 kB / 0.602 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004247/0.1996, allocations: 129.5 kB / 0.6021 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.1996, allocations: 3.984 kB / 0.6021 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1997, allocations: 4 kB / 0.6021 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1997, allocations: 0 / 0.6021 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.1999, allocations: 189.5 kB / 0.6023 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1999, allocations: 3.938 kB / 0.6023 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.2, allocations: 23.98 kB / 0.6023 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2, allocations: 0 / 0.6023 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.2, allocations: 0 / 0.6023 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2, allocations: 0 / 0.6023 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2, allocations: 0 / 0.6023 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.2005, allocations: 227.7 kB / 0.6025 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.2005, allocations: 89.14 kB / 0.6026 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.2005, allocations: 0 / 0.6026 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.2006, allocations: 15.98 kB / 0.6026 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.2007, allocations: 3.984 kB / 0.6026 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.2007, allocations: 4 kB / 0.6026 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001092/0.2008, allocations: 95.2 kB / 0.6027 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2008, allocations: 0 / 0.6027 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000231/0.2011, allocations: 19.84 kB / 0.6027 GB, free: 2.383 MB / 0.4981 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.0001446/0.2012, allocations: 107.1 kB / 0.6028 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003785/0.2016, allocations: 99.91 kB / 0.6029 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2016, allocations: 0 / 0.6029 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.2018, allocations: 43.97 kB / 0.603 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.2021, allocations: 15.98 kB / 0.603 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.2024, allocations: 160.7 kB / 0.6031 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.2027, allocations: 0.7003 MB / 0.6038 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.113e-05/0.2027, allocations: 8 kB / 0.6038 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.2028, allocations: 7.438 kB / 0.6038 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.2028, allocations: 0 / 0.6038 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of Templates: time 0.002823/0.2056, allocations: 0.6258 MB / 0.6045 GB, free: 0.5703 MB / 0.4981 GB 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)