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.001599/0.001599, allocations: 104.9 kB / 16.35 MB, free: 6.289 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.001764/0.001764, allocations: 192.7 kB / 17.29 MB, free: 5.863 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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 0.8595/0.8595, allocations: 143.1 MB / 434.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.89 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3311, allocations: 82.03 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002316/0.3334, allocations: 1.527 MB / 0.5972 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002687/0.3337, allocations: 121.8 kB / 0.5973 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.502e-05/0.3338, allocations: 4 kB / 0.5973 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.3339, allocations: 11.88 kB / 0.5973 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.395e-05/0.3339, allocations: 9.266 kB / 0.5973 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.3341, allocations: 27.91 kB / 0.5973 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.587e-05/0.3342, allocations: 49.19 kB / 0.5974 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3343, allocations: 26.23 kB / 0.5974 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.854e-05/0.3344, allocations: 23.91 kB / 0.5974 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.893e-05/0.3345, allocations: 35.84 kB / 0.5975 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.3345, allocations: 5.031 kB / 0.5975 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.086e-05/0.3345, allocations: 11.94 kB / 0.5975 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.612e-05/0.3346, allocations: 19.92 kB / 0.5975 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.3346, allocations: 25.11 kB / 0.5975 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.3347, allocations: 59.8 kB / 0.5976 GB, free: 14.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3347, allocations: 0 / 0.5976 GB, free: 14.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3347, allocations: 1.219 kB / 0.5976 GB, free: 14.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3347, allocations: 4 kB / 0.5976 GB, free: 14.18 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.0004096/0.3352, allocations: 376.8 kB / 0.5979 GB, free: 13.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.3352, allocations: 8.031 kB / 0.598 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.3352, allocations: 8.844 kB / 0.598 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.3354, allocations: 191.2 kB / 0.5981 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3354, allocations: 384 / 0.5981 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.3354, allocations: 8.312 kB / 0.5982 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.3356, allocations: 92.8 kB / 0.5982 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3356, allocations: 192 / 0.5982 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3357, allocations: 3.938 kB / 0.5982 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3357, allocations: 0 / 0.5982 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.3359, allocations: 81.31 kB / 0.5983 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.3363, allocations: 327 kB / 0.5986 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.3365, allocations: 59.94 kB / 0.5987 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.3367, allocations: 42.33 kB / 0.5987 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.3367, allocations: 8 kB / 0.5987 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.3367, allocations: 39.89 kB / 0.5988 GB, free: 12.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3367, allocations: 0 / 0.5988 GB, free: 12.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004583/0.3372, allocations: 136.6 kB / 0.5989 GB, free: 12.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.3372, allocations: 51.41 kB / 0.599 GB, free: 12.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.807e-05/0.3373, allocations: 120.2 kB / 0.5991 GB, free: 12.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.3373, allocations: 27.23 kB / 0.5991 GB, free: 12.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/0.3373, allocations: 92.03 kB / 0.5992 GB, free: 12.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.3373, allocations: 15.84 kB / 0.5992 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.3374, allocations: 11.09 kB / 0.5992 GB, free: 12.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.3374, allocations: 326.8 kB / 0.5995 GB, free: 12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.3376, allocations: 32.72 kB / 0.5996 GB, free: 11.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.3377, allocations: 33.45 kB / 0.5996 GB, free: 11.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.3379, allocations: 78.09 kB / 0.5997 GB, free: 11.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3379, allocations: 0.875 kB / 0.5997 GB, free: 11.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002552/0.3382, allocations: 98.97 kB / 0.5998 GB, free: 11.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3382, allocations: 11.98 kB / 0.5998 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3382, allocations: 0.9375 kB / 0.5998 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3382, allocations: 0 / 0.5998 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.3383, allocations: 25.05 kB / 0.5998 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.3383, allocations: 0 / 0.5998 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.745e-05/0.3384, allocations: 9.453 kB / 0.5998 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.3384, allocations: 4 kB / 0.5998 GB, free: 11.71 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.204e-05/0.3385, allocations: 126.4 kB / 0.5999 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.3385, allocations: 0 / 0.5999 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.3388, allocations: 116.5 kB / 0.6 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3388, allocations: 0 / 0.6 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3388, allocations: 0 / 0.6 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3389, allocations: 0 / 0.6 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.339, allocations: 189.5 kB / 0.6002 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.339, allocations: 0.5938 kB / 0.6002 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.335e-05/0.3391, allocations: 17.5 kB / 0.6002 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3391, allocations: 0 / 0.6002 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3391, allocations: 4 kB / 0.6002 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3391, allocations: 0.8125 kB / 0.6002 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3391, allocations: 0 / 0.6002 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.3394, allocations: 205.6 kB / 0.6004 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.3394, allocations: 82.52 kB / 0.6005 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.3394, allocations: 4 kB / 0.6005 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.462e-05/0.3395, allocations: 11.98 kB / 0.6005 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.3396, allocations: 9.422 kB / 0.6005 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.3396, allocations: 4.359 kB / 0.6005 GB, free: 10.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.837e-05/0.3396, allocations: 91.27 kB / 0.6006 GB, free: 10.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3396, allocations: 1.438 kB / 0.6006 GB, free: 10.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002166/0.3398, allocations: 8 kB / 0.6006 GB, free: 10.76 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 9.797e-05/0.3399, allocations: 108.5 kB / 0.6007 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002918/0.3402, allocations: 81.31 kB / 0.6008 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3403, allocations: 0 / 0.6008 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.3404, allocations: 33.34 kB / 0.6009 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.3406, allocations: 13.02 kB / 0.6009 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.3409, allocations: 158.5 kB / 0.601 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.3411, allocations: 0.6955 MB / 0.6017 GB, free: 9.629 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.622e-05/0.3411, allocations: 5.344 kB / 0.6017 GB, free: 9.625 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.3411, allocations: 7.438 kB / 0.6017 GB, free: 9.617 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3411, allocations: 5.219 kB / 0.6017 GB, free: 9.613 MB / 446.1 MB Notification: Performance of Templates: time 0.002565/0.3437, allocations: 0.7674 MB / 0.6025 GB, free: 8.883 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)