Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.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.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 106.1 kB / 15.98 MB, free: 6.332 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.001113/0.001113, allocations: 198.6 kB / 16.91 MB, free: 6.18 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.318/1.318, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.8341/0.8341, allocations: 143 MB / 433.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001895, allocations: 59.91 kB / 0.5143 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3328, allocations: 82.03 MB / 0.5944 GB, free: 16.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002173/0.335, allocations: 1.537 MB / 0.5959 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007505/0.3358, allocations: 435.8 kB / 0.5963 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.3358, allocations: 5.094 kB / 0.5963 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.752e-05/0.3359, allocations: 3.938 kB / 0.5964 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.101e-05/0.336, allocations: 20.88 kB / 0.5964 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.3366, allocations: 233.8 kB / 0.5966 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.3368, allocations: 327.9 kB / 0.5969 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.3369, allocations: 5.219 kB / 0.5969 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.3371, allocations: 238.3 kB / 0.5971 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.3373, allocations: 127.6 kB / 0.5973 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.182e-05/0.3374, allocations: 20.5 kB / 0.5973 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.794e-05/0.3375, allocations: 17.16 kB / 0.5973 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.924e-05/0.3376, allocations: 87.77 kB / 0.5974 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.3377, allocations: 131.3 kB / 0.5975 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.3379, allocations: 222.7 kB / 0.5977 GB, free: 13.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3379, allocations: 0 / 0.5977 GB, free: 13.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3379, allocations: 3.984 kB / 0.5977 GB, free: 13.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.3379, allocations: 1 kB / 0.5977 GB, free: 13.01 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008952/0.3388, allocations: 0.7436 MB / 0.5984 GB, free: 12.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3388, allocations: 8.031 kB / 0.5985 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.697e-05/0.3389, allocations: 39.61 kB / 0.5985 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.3392, allocations: 262.2 kB / 0.5987 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/0.3392, allocations: 16.48 kB / 0.5988 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/0.3393, allocations: 16.56 kB / 0.5988 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009042/0.3402, allocations: 208.1 kB / 0.599 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3402, allocations: 3.984 kB / 0.599 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.3402, allocations: 4 kB / 0.599 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3403, allocations: 8 kB / 0.599 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007099/0.341, allocations: 93.39 kB / 0.5991 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.3412, allocations: 322.2 kB / 0.5994 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009522/0.3422, allocations: 169.5 kB / 0.5995 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/0.3429, allocations: 110.5 kB / 0.5997 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.3429, allocations: 11.97 kB / 0.5997 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/0.344, allocations: 209.4 kB / 0.5999 GB, free: 10.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.344, allocations: 0 / 0.5999 GB, free: 10.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002305/0.3463, allocations: 448.6 kB / 0.6003 GB, free: 10.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.3464, allocations: 59.39 kB / 0.6003 GB, free: 10.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.3466, allocations: 299.5 kB / 0.6006 GB, free: 9.812 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.3466, allocations: 37.7 kB / 0.6007 GB, free: 9.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.79e-05/0.3467, allocations: 94.53 kB / 0.6008 GB, free: 9.676 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.3467, allocations: 39.55 kB / 0.6008 GB, free: 9.637 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.3468, allocations: 93.48 kB / 0.6009 GB, free: 9.539 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.38e-05/0.3469, allocations: 328.2 kB / 0.6012 GB, free: 9.211 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.3471, allocations: 83.94 kB / 0.6013 GB, free: 9.129 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.3472, allocations: 136 kB / 0.6014 GB, free: 8.977 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.3475, allocations: 239.4 kB / 0.6016 GB, free: 8.715 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3475, allocations: 0 / 0.6016 GB, free: 8.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005217/0.348, allocations: 395.3 kB / 0.602 GB, free: 8.312 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.3481, allocations: 75.39 kB / 0.6021 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3481, allocations: 4 kB / 0.6021 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3481, allocations: 0 / 0.6021 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.3483, allocations: 27.91 kB / 0.6021 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.3483, allocations: 5.906 kB / 0.6021 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004449/0.3487, allocations: 62.94 kB / 0.6022 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.3488, allocations: 43.98 kB / 0.6022 GB, free: 8.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001391/0.349, allocations: 167.1 kB / 0.6024 GB, free: 7.918 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.349, allocations: 23.72 kB / 0.6024 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.349, allocations: 26.3 kB / 0.6024 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3491, allocations: 4 kB / 0.6024 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3491, allocations: 1.531 kB / 0.6024 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3491, allocations: 7.922 kB / 0.6024 GB, free: 7.859 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.3509, allocations: 0.685 MB / 0.6031 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.3509, allocations: 3.938 kB / 0.6031 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.312e-05/0.351, allocations: 8 kB / 0.6031 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.351, allocations: 9.328 kB / 0.6031 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.351, allocations: 19.98 kB / 0.6032 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.351, allocations: 0 / 0.6032 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.351, allocations: 3.984 kB / 0.6032 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.3526, allocations: 453.6 kB / 0.6036 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.3527, allocations: 160.6 kB / 0.6037 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.631e-05/0.3528, allocations: 21.17 kB / 0.6038 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004583/0.3533, allocations: 28.97 kB / 0.6038 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.3533, allocations: 7.984 kB / 0.6038 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.3534, allocations: 43.97 kB / 0.6038 GB, free: 6.352 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000141/0.3535, allocations: 211.2 kB / 0.604 GB, free: 6.148 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3535, allocations: 4 kB / 0.604 GB, free: 6.145 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.3538, allocations: 47.98 kB / 0.6041 GB, free: 6.098 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: 14 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001178/0.354, allocations: 118.3 kB / 0.6042 GB, free: 5.973 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.355, allocations: 381.2 kB / 0.6046 GB, free: 5.578 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.355, allocations: 0 / 0.6046 GB, free: 5.578 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007237/0.3558, allocations: 121.2 kB / 0.6047 GB, free: 5.461 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.3561, allocations: 22.11 kB / 0.6047 GB, free: 5.441 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.3573, allocations: 0.532 MB / 0.6052 GB, free: 4.891 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.3575, allocations: 0.7454 MB / 0.606 GB, free: 4.117 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.3575, allocations: 15.44 kB / 0.606 GB, free: 4.102 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3575, allocations: 0.625 kB / 0.606 GB, free: 4.102 MB / 446.1 MB Notification: Performance of Templates: time 0.003704/0.3612, allocations: 2.865 MB / 0.6088 GB, free: 1.301 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)