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.001117/0.001117, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001334/0.001334, allocations: 191 kB / 16.14 MB, free: 6.734 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.051/1.051, allocations: 143 MB / 433 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 63.91 kB / 0.5135 GB, free: 12.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1918, allocations: 82.04 MB / 0.5936 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.003147/0.195, allocations: 1.544 MB / 0.5951 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1961, allocations: 443.4 kB / 0.5955 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.983e-05/0.1962, allocations: 7.938 kB / 0.5955 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.1963, allocations: 3.984 kB / 0.5955 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.1964, allocations: 24.22 kB / 0.5956 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006435/0.1971, allocations: 235.8 kB / 0.5958 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.1974, allocations: 295.9 kB / 0.5961 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.1975, allocations: 11.98 kB / 0.5961 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003079/0.1978, allocations: 218.3 kB / 0.5963 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.198, allocations: 123.6 kB / 0.5964 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.692e-05/0.1981, allocations: 12 kB / 0.5964 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.135e-05/0.1982, allocations: 8 kB / 0.5964 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.1983, allocations: 83.7 kB / 0.5965 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.1985, allocations: 123.4 kB / 0.5966 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.1989, allocations: 299.2 kB / 0.5969 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1989, allocations: 0 / 0.5969 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1989, allocations: 0 / 0.5969 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.1989, allocations: 0 / 0.5969 GB, free: 6.703 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001298/0.2002, allocations: 0.746 MB / 0.5976 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2003, allocations: 8.031 kB / 0.5976 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.2004, allocations: 35.72 kB / 0.5977 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.2007, allocations: 262.3 kB / 0.5979 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.241e-05/0.2008, allocations: 19.98 kB / 0.5979 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.187e-05/0.2009, allocations: 16 kB / 0.598 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.2019, allocations: 201.4 kB / 0.5982 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2019, allocations: 3.938 kB / 0.5982 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.202, allocations: 3.984 kB / 0.5982 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.202, allocations: 0 / 0.5982 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008009/0.2028, allocations: 95.92 kB / 0.5983 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.2032, allocations: 321.3 kB / 0.5986 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.2043, allocations: 178.4 kB / 0.5987 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000787/0.2051, allocations: 104.8 kB / 0.5988 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/0.2051, allocations: 3.938 kB / 0.5988 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.2062, allocations: 226 kB / 0.599 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 2.255e-06/0.2062, allocations: 0 / 0.599 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002651/0.2089, allocations: 445 kB / 0.5995 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.2089, allocations: 59.39 kB / 0.5995 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.2092, allocations: 290.9 kB / 0.5998 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/0.2093, allocations: 41.7 kB / 0.5998 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.2094, allocations: 93.06 kB / 0.5999 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.2094, allocations: 39.55 kB / 0.6 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.2096, allocations: 101.5 kB / 0.6001 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2097, allocations: 326.8 kB / 0.6004 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.2099, allocations: 75.95 kB / 0.6005 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.2102, allocations: 133.9 kB / 0.6006 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.2105, allocations: 245.2 kB / 0.6008 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2105, allocations: 0 / 0.6008 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006745/0.2112, allocations: 398.8 kB / 0.6012 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.187e-05/0.2113, allocations: 75.33 kB / 0.6013 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.2113, allocations: 4 kB / 0.6013 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.2113, allocations: 0 / 0.6013 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.2115, allocations: 23.92 kB / 0.6013 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.2115, allocations: 7.984 kB / 0.6013 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005104/0.212, allocations: 56 kB / 0.6014 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.823e-05/0.2121, allocations: 47.98 kB / 0.6014 GB, free: 1.758 MB / 0.4981 GB 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.0002176/0.2124, allocations: 173.7 kB / 0.6016 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.2124, allocations: 27.66 kB / 0.6016 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.356e-05/0.2125, allocations: 26.3 kB / 0.6016 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2125, allocations: 4 kB / 0.6016 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.2125, allocations: 0 / 0.6016 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2125, allocations: 0 / 0.6016 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.2147, allocations: 0.6933 MB / 0.6023 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2147, allocations: 0 / 0.6023 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.2148, allocations: 4 kB / 0.6023 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2148, allocations: 0 / 0.6023 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/0.2148, allocations: 27.97 kB / 0.6023 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2148, allocations: 0 / 0.6023 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2148, allocations: 0 / 0.6023 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.2165, allocations: 445.4 kB / 0.6028 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.2167, allocations: 164.6 kB / 0.6029 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.355e-05/0.2168, allocations: 15.94 kB / 0.6029 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.2172, allocations: 31.95 kB / 0.603 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.2173, allocations: 11.98 kB / 0.603 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/0.2174, allocations: 35.98 kB / 0.603 GB, free: 20 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.3368/0.5541, allocations: 211.1 kB / 0.6032 GB, free: 44.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.51e-07/0.5542, allocations: 2.469 kB / 0.6032 GB, free: 44.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000583/0.5548, allocations: 45.38 kB / 0.6032 GB, free: 44.17 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: 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.0001816/0.555, allocations: 115.5 kB / 0.6034 GB, free: 44.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001277/0.5562, allocations: 377.5 kB / 0.6037 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5562, allocations: 0 / 0.6037 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007721/0.557, allocations: 119.1 kB / 0.6038 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.5574, allocations: 30.48 kB / 0.6039 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.5588, allocations: 0.5017 MB / 0.6044 GB, free: 43.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.5589, allocations: 0.741 MB / 0.6051 GB, free: 42.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.594e-05/0.559, allocations: 14.38 kB / 0.6051 GB, free: 42.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.5591, allocations: 16.12 kB / 0.6051 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.5591, allocations: 0.6562 kB / 0.6051 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.006359/0.5654, allocations: 3.638 MB / 0.6087 GB, free: 42.74 MB / 0.4981 GB 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)