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.001068/0.001068, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 183.1 kB / 16.92 MB, free: 6.922 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.365/1.365, allocations: 223.3 MB / 241 MB, free: 5.352 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 0.9864/0.9864, allocations: 143.2 MB / 435.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003244, allocations: 8 kB / 0.517 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1409, allocations: 83.41 MB / 0.5985 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001432/0.1424, allocations: 1.209 MB / 0.5997 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008695/0.1432, allocations: 439.4 kB / 0.6001 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.1433, allocations: 0 / 0.6001 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.243e-05/0.1434, allocations: 3.938 kB / 0.6001 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.1435, allocations: 24.22 kB / 0.6001 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005775/0.1441, allocations: 238.5 kB / 0.6003 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.1444, allocations: 299.8 kB / 0.6006 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.1444, allocations: 4 kB / 0.6006 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000289/0.1447, allocations: 218.3 kB / 0.6008 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.1449, allocations: 127.6 kB / 0.601 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.943e-05/0.145, allocations: 12 kB / 0.601 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.536e-05/0.145, allocations: 8 kB / 0.601 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1451, allocations: 75.77 kB / 0.6011 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.1453, allocations: 153 kB / 0.6012 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.1455, allocations: 219.8 kB / 0.6014 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1455, allocations: 0 / 0.6014 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1455, allocations: 0 / 0.6014 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.1455, allocations: 0 / 0.6014 GB, free: 4.758 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.0008647/0.1464, allocations: 0.6526 MB / 0.6021 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.1464, allocations: 8.031 kB / 0.6021 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.375e-05/0.1465, allocations: 35.66 kB / 0.6021 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.1468, allocations: 270.2 kB / 0.6024 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/0.1469, allocations: 19.98 kB / 0.6024 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.1469, allocations: 16 kB / 0.6024 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009412/0.1479, allocations: 205.5 kB / 0.6026 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1479, allocations: 0 / 0.6026 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.1479, allocations: 11.98 kB / 0.6026 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1479, allocations: 0 / 0.6026 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007706/0.1487, allocations: 107.9 kB / 0.6027 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.1491, allocations: 337.2 kB / 0.603 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.1501, allocations: 182.5 kB / 0.6032 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007604/0.1509, allocations: 112.8 kB / 0.6033 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1509, allocations: 4 kB / 0.6033 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009225/0.1519, allocations: 219.2 kB / 0.6035 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.1519, allocations: 4 kB / 0.6035 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002546/0.1544, allocations: 487.7 kB / 0.604 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.1545, allocations: 63.39 kB / 0.604 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.1548, allocations: 294.9 kB / 0.6043 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.1548, allocations: 37.7 kB / 0.6044 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.65e-05/0.1549, allocations: 93.12 kB / 0.6044 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.1549, allocations: 39.53 kB / 0.6045 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.155, allocations: 33.7 kB / 0.6045 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1551, allocations: 322.8 kB / 0.6048 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.1553, allocations: 79.95 kB / 0.6049 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.1555, allocations: 141.9 kB / 0.605 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.1559, allocations: 239.9 kB / 0.6053 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1559, allocations: 0 / 0.6053 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006346/0.1565, allocations: 396.6 kB / 0.6056 GB, free: 100 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.271e-05/0.1566, allocations: 79.33 kB / 0.6057 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1566, allocations: 0 / 0.6057 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1566, allocations: 7.984 kB / 0.6057 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.4155, allocations: 16.06 kB / 0.6057 GB, free: 41.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.4155, allocations: 7.062 kB / 0.6057 GB, free: 41.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005632/0.4161, allocations: 65.86 kB / 0.6058 GB, free: 41.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.274e-05/0.4162, allocations: 40.47 kB / 0.6059 GB, free: 41.27 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.0002378/0.4164, allocations: 170.6 kB / 0.606 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.4165, allocations: 25.53 kB / 0.606 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.374e-05/0.4166, allocations: 32.31 kB / 0.6061 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4166, allocations: 2.344 kB / 0.6061 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4166, allocations: 2.25 kB / 0.6061 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4166, allocations: 8.047 kB / 0.6061 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.4186, allocations: 0.7069 MB / 0.6068 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4187, allocations: 3.688 kB / 0.6068 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.4187, allocations: 10.14 kB / 0.6068 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.4187, allocations: 1.594 kB / 0.6068 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.4187, allocations: 15.5 kB / 0.6068 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4188, allocations: 2.688 kB / 0.6068 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4188, allocations: 3.906 kB / 0.6068 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.4204, allocations: 466 kB / 0.6073 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.4205, allocations: 163.1 kB / 0.6074 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.4206, allocations: 12.78 kB / 0.6074 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004631/0.4211, allocations: 37.91 kB / 0.6075 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.4211, allocations: 6.312 kB / 0.6075 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.4212, allocations: 42.95 kB / 0.6075 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001624/0.4213, allocations: 210.5 kB / 0.6077 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4213, allocations: 5.375 kB / 0.6077 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003661/0.4217, allocations: 50.75 kB / 0.6078 GB, free: 40.54 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.0001352/0.4218, allocations: 122.6 kB / 0.6079 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.423, allocations: 385.3 kB / 0.6082 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.423, allocations: 0 / 0.6082 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007562/0.4238, allocations: 128.4 kB / 0.6084 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.4241, allocations: 24.73 kB / 0.6084 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.4255, allocations: 0.5531 MB / 0.6089 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.4257, allocations: 0.7374 MB / 0.6096 GB, free: 39.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.4257, allocations: 17.97 kB / 0.6097 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.4257, allocations: 0 / 0.6097 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.004331/0.4301, allocations: 2.85 MB / 0.6124 GB, free: 39.14 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)