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.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001403/0.001403, allocations: 192.8 kB / 16.13 MB, free: 6.703 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.493/1.493, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.095/1.095, allocations: 143 MB / 433 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.91 kB / 0.5135 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2053, allocations: 82.03 MB / 0.5936 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.003095/0.2085, allocations: 1.606 MB / 0.5952 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003816/0.2089, allocations: 112.5 kB / 0.5953 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.2089, allocations: 0 / 0.5953 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.2091, allocations: 15.92 kB / 0.5953 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.47e-05/0.2091, allocations: 3.938 kB / 0.5953 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.2093, allocations: 23.97 kB / 0.5953 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.614e-05/0.2094, allocations: 47.84 kB / 0.5954 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.2096, allocations: 27.97 kB / 0.5954 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.935e-05/0.2096, allocations: 27.92 kB / 0.5954 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.77e-05/0.2097, allocations: 27.84 kB / 0.5954 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.2097, allocations: 4 kB / 0.5954 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.3e-05/0.2098, allocations: 7.984 kB / 0.5954 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.52e-05/0.2098, allocations: 19.92 kB / 0.5955 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.2099, allocations: 23.86 kB / 0.5955 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.21, allocations: 59.81 kB / 0.5955 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.21, allocations: 0 / 0.5955 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.21, allocations: 0 / 0.5955 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.21, allocations: 0 / 0.5955 GB, free: 8.066 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.0006121/0.2107, allocations: 375.6 kB / 0.5959 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.2107, allocations: 8.031 kB / 0.5959 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.2108, allocations: 8.844 kB / 0.5959 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.2109, allocations: 192.2 kB / 0.5961 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.211, allocations: 8.312 kB / 0.5961 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.211, allocations: 4.375 kB / 0.5961 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.2113, allocations: 90.14 kB / 0.5962 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2113, allocations: 192 / 0.5962 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.2113, allocations: 3.938 kB / 0.5962 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.2114, allocations: 0 / 0.5962 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.2117, allocations: 91.84 kB / 0.5963 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/0.2123, allocations: 320.6 kB / 0.5966 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.2125, allocations: 62.53 kB / 0.5967 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.2127, allocations: 45 kB / 0.5967 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.2128, allocations: 7.938 kB / 0.5967 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.2128, allocations: 30.56 kB / 0.5967 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.2128, allocations: 0 / 0.5967 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000571/0.2134, allocations: 133.6 kB / 0.5969 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.2134, allocations: 55.41 kB / 0.5969 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.893e-05/0.2135, allocations: 113.8 kB / 0.597 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.2135, allocations: 25.7 kB / 0.5971 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.2136, allocations: 99.97 kB / 0.5971 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.2136, allocations: 11.91 kB / 0.5972 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.2137, allocations: 13.72 kB / 0.5972 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2138, allocations: 322.8 kB / 0.5975 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.2139, allocations: 31.97 kB / 0.5975 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.2141, allocations: 39.89 kB / 0.5975 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.2144, allocations: 72.78 kB / 0.5976 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.2144, allocations: 4 kB / 0.5976 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003328/0.2147, allocations: 109.5 kB / 0.5977 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.2147, allocations: 4 kB / 0.5977 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.2148, allocations: 4 kB / 0.5977 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2148, allocations: 336 / 0.5977 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.2149, allocations: 15.98 kB / 0.5977 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2149, allocations: 0 / 0.5977 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.95e-05/0.215, allocations: 11.98 kB / 0.5978 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.2151, allocations: 3.984 kB / 0.5978 GB, free: 5.566 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.000108/0.2152, allocations: 121.7 kB / 0.5979 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.2152, allocations: 4 kB / 0.5979 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004054/0.2156, allocations: 117.5 kB / 0.598 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2156, allocations: 0 / 0.598 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.2157, allocations: 4 kB / 0.598 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2157, allocations: 3.938 kB / 0.598 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.2159, allocations: 181.5 kB / 0.5982 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2159, allocations: 3.938 kB / 0.5982 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.216, allocations: 19.98 kB / 0.5982 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.216, allocations: 0 / 0.5982 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.216, allocations: 4 kB / 0.5982 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.216, allocations: 0 / 0.5982 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.216, allocations: 0 / 0.5982 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.2165, allocations: 203.3 kB / 0.5984 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.2165, allocations: 85.02 kB / 0.5985 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.2166, allocations: 4 kB / 0.5985 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.2167, allocations: 11.97 kB / 0.5985 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.2167, allocations: 4 kB / 0.5985 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.2167, allocations: 0 / 0.5985 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.121e-05/0.2168, allocations: 91.27 kB / 0.5986 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2168, allocations: 0 / 0.5986 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002447/0.2171, allocations: 15.94 kB / 0.5986 GB, free: 4.602 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.0002363/0.2173, allocations: 107.2 kB / 0.5987 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.2177, allocations: 79.84 kB / 0.5988 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2177, allocations: 0 / 0.5988 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.2178, allocations: 43.95 kB / 0.5988 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.2182, allocations: 8 kB / 0.5988 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.2187, allocations: 161.1 kB / 0.599 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.2191, allocations: 0.6926 MB / 0.5997 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.872e-05/0.2191, allocations: 7.984 kB / 0.5997 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.2192, allocations: 11.44 kB / 0.5997 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.2192, allocations: 0 / 0.5997 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of Templates: time 0.00302/0.2222, allocations: 0.6275 MB / 0.6003 GB, free: 2.82 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)