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.001113/0.001113, allocations: 116.9 kB / 16.37 MB, free: 6.016 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.00111/0.00111, allocations: 189.7 kB / 17.3 MB, free: 5.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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.18 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.8612/0.8612, allocations: 143 MB / 434.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.89 kB / 0.5156 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4373, allocations: 82.03 MB / 0.5957 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002208/0.4395, allocations: 1.528 MB / 0.5972 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002849/0.4398, allocations: 122.9 kB / 0.5973 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.4399, allocations: 0 / 0.5973 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.44, allocations: 7.922 kB / 0.5973 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.255e-05/0.44, allocations: 7.875 kB / 0.5973 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.4403, allocations: 23.97 kB / 0.5973 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.865e-05/0.4404, allocations: 56.81 kB / 0.5974 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.4405, allocations: 34.48 kB / 0.5974 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.4405, allocations: 27.92 kB / 0.5975 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.902e-05/0.4406, allocations: 23.91 kB / 0.5975 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.4406, allocations: 4.719 kB / 0.5975 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.27e-05/0.4407, allocations: 17.52 kB / 0.5975 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.547e-05/0.4407, allocations: 15.88 kB / 0.5975 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.4408, allocations: 23.86 kB / 0.5975 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.4409, allocations: 59.8 kB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4409, allocations: 4 kB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4409, allocations: 1.375 kB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.4409, allocations: 0 / 0.5976 GB, free: 14.21 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.0004411/0.4413, allocations: 377.2 kB / 0.598 GB, free: 13.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.4414, allocations: 8.031 kB / 0.598 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.4414, allocations: 8.844 kB / 0.598 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.4415, allocations: 197.9 kB / 0.5982 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.4416, allocations: 1.812 kB / 0.5982 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.4416, allocations: 8.375 kB / 0.5982 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.4418, allocations: 86.95 kB / 0.5983 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.4418, allocations: 1.688 kB / 0.5983 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.4419, allocations: 3.938 kB / 0.5983 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.4419, allocations: 0 / 0.5983 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/0.4421, allocations: 93.06 kB / 0.5984 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.4426, allocations: 319 kB / 0.5987 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.4428, allocations: 63.34 kB / 0.5987 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.4429, allocations: 42.41 kB / 0.5988 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.443, allocations: 6.312 kB / 0.5988 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.443, allocations: 30.56 kB / 0.5988 GB, free: 12.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.443, allocations: 0 / 0.5988 GB, free: 12.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004958/0.4435, allocations: 135 kB / 0.5989 GB, free: 12.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.4435, allocations: 56.78 kB / 0.599 GB, free: 12.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.4436, allocations: 116.1 kB / 0.5991 GB, free: 12.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.4436, allocations: 29.7 kB / 0.5991 GB, free: 12.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.4437, allocations: 93.38 kB / 0.5992 GB, free: 12.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.4437, allocations: 15.83 kB / 0.5992 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.4437, allocations: 17.72 kB / 0.5992 GB, free: 12.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.114e-05/0.4438, allocations: 320 kB / 0.5995 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.4439, allocations: 32.84 kB / 0.5996 GB, free: 12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.444, allocations: 33.45 kB / 0.5996 GB, free: 11.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.4443, allocations: 78.03 kB / 0.5997 GB, free: 11.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4443, allocations: 1.312 kB / 0.5997 GB, free: 11.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002828/0.4446, allocations: 114.8 kB / 0.5998 GB, free: 11.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.4446, allocations: 7.938 kB / 0.5998 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4446, allocations: 0 / 0.5998 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.4446, allocations: 1.125 kB / 0.5998 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.4447, allocations: 15.98 kB / 0.5998 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.4447, allocations: 0.9375 kB / 0.5998 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.4448, allocations: 12.31 kB / 0.5998 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.4448, allocations: 5.359 kB / 0.5998 GB, free: 11.73 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.19e-05/0.4449, allocations: 117.8 kB / 0.5999 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.4449, allocations: 1.344 kB / 0.5999 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003093/0.4452, allocations: 119 kB / 0.6001 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4453, allocations: 0 / 0.6001 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4453, allocations: 0 / 0.6001 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4453, allocations: 5.281 kB / 0.6001 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.4454, allocations: 189.4 kB / 0.6002 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4454, allocations: 0 / 0.6002 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.39e-05/0.4455, allocations: 13.39 kB / 0.6003 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4455, allocations: 4 kB / 0.6003 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.4455, allocations: 0 / 0.6003 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.4455, allocations: 1.406 kB / 0.6003 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4455, allocations: 0 / 0.6003 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.4458, allocations: 201.5 kB / 0.6005 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.4458, allocations: 81.02 kB / 0.6005 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.4459, allocations: 1.5 kB / 0.6005 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.577e-05/0.446, allocations: 15.97 kB / 0.6005 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.446, allocations: 8 kB / 0.6006 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.446, allocations: 4.656 kB / 0.6006 GB, free: 10.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.779e-05/0.4461, allocations: 92.17 kB / 0.6006 GB, free: 10.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4461, allocations: 0 / 0.6006 GB, free: 10.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.4463, allocations: 13.12 kB / 0.6007 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.0001135/0.4464, allocations: 103.1 kB / 0.6008 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003045/0.4467, allocations: 78.22 kB / 0.6008 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4467, allocations: 3.938 kB / 0.6008 GB, free: 10.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.4469, allocations: 42.47 kB / 0.6009 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.0002744/0.4472, allocations: 3.984 kB / 0.6009 GB, free: 10.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.4475, allocations: 157.3 kB / 0.601 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.4476, allocations: 0.6937 MB / 0.6017 GB, free: 9.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.986e-05/0.4476, allocations: 8.609 kB / 0.6017 GB, free: 9.652 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.4477, allocations: 8.531 kB / 0.6017 GB, free: 9.645 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4477, allocations: 0 / 0.6017 GB, free: 9.645 MB / 446.1 MB Notification: Performance of Templates: time 0.002613/0.4503, allocations: 0.7693 MB / 0.6025 GB, free: 8.914 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)