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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006053/0.006053, allocations: 102.8 kB / 15.73 MB, free: 5.539 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.001254/0.001254, allocations: 193.1 kB / 16.67 MB, free: 5.469 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.8418/0.8418, allocations: 143.1 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 72.89 kB / 0.595 GB, free: 12.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1576, allocations: 82.04 MB / 0.6751 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002774/0.1605, allocations: 1.484 MB / 0.6766 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000994/0.1615, allocations: 436.8 kB / 0.677 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.341e-05/0.1616, allocations: 0 / 0.677 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.1617, allocations: 11.86 kB / 0.677 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.1619, allocations: 20.23 kB / 0.677 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000771/0.1627, allocations: 250.5 kB / 0.6773 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004076/0.1631, allocations: 335.5 kB / 0.6776 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.1631, allocations: 4 kB / 0.6776 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003341/0.1635, allocations: 195.7 kB / 0.6778 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.1638, allocations: 120 kB / 0.6779 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.672e-05/0.1639, allocations: 16 kB / 0.6779 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.577e-05/0.1639, allocations: 20 kB / 0.6779 GB, free: 8 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.164, allocations: 83.77 kB / 0.678 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.1642, allocations: 123.4 kB / 0.6781 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.1645, allocations: 298.4 kB / 0.6784 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1645, allocations: 4 kB / 0.6784 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1645, allocations: 0 / 0.6784 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.1646, allocations: 4 kB / 0.6784 GB, free: 7.5 MB / 0.5137 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.001203/0.1658, allocations: 0.7426 MB / 0.6791 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.1658, allocations: 8.031 kB / 0.6791 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.104e-05/0.1659, allocations: 42.69 kB / 0.6792 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.166, allocations: 32.56 kB / 0.6792 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.1664, allocations: 259.7 kB / 0.6795 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.642e-05/0.1665, allocations: 24.09 kB / 0.6795 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/0.1666, allocations: 19.94 kB / 0.6795 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.1676, allocations: 197.5 kB / 0.6797 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1676, allocations: 0 / 0.6797 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.1676, allocations: 11.98 kB / 0.6797 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1677, allocations: 0 / 0.6797 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007941/0.1685, allocations: 99.86 kB / 0.6798 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.169, allocations: 317.4 kB / 0.6801 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.17, allocations: 174.4 kB / 0.6803 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007324/0.1708, allocations: 112.8 kB / 0.6804 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1708, allocations: 0 / 0.6804 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008993/0.1717, allocations: 219.1 kB / 0.6806 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 3.606e-06/0.1717, allocations: 0 / 0.6806 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002533/0.1743, allocations: 445 kB / 0.681 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/0.1744, allocations: 67.39 kB / 0.6811 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.1747, allocations: 287 kB / 0.6813 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/0.1748, allocations: 33.7 kB / 0.6814 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.1748, allocations: 97.05 kB / 0.6815 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.1749, allocations: 39.53 kB / 0.6815 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.175, allocations: 93.48 kB / 0.6816 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1752, allocations: 326.8 kB / 0.6819 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.1753, allocations: 83.94 kB / 0.682 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.1756, allocations: 135.5 kB / 0.6821 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/0.1759, allocations: 246.9 kB / 0.6824 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1759, allocations: 0 / 0.6824 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006334/0.1765, allocations: 392.5 kB / 0.6827 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-05/0.1766, allocations: 75.56 kB / 0.6828 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1766, allocations: 4 kB / 0.6828 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1767, allocations: 4 kB / 0.6828 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.1768, allocations: 19.98 kB / 0.6828 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.1768, allocations: 7.938 kB / 0.6828 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.1773, allocations: 55.8 kB / 0.6829 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.126e-05/0.1774, allocations: 39.98 kB / 0.6829 GB, free: 2.523 MB / 0.5137 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.0001915/0.1776, allocations: 173.7 kB / 0.6831 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.1776, allocations: 27.7 kB / 0.6831 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.1777, allocations: 26.31 kB / 0.6831 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.1777, allocations: 3.984 kB / 0.6831 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1777, allocations: 3.938 kB / 0.6832 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1777, allocations: 0 / 0.6832 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.1799, allocations: 0.6897 MB / 0.6838 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1799, allocations: 0 / 0.6838 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/0.18, allocations: 15.92 kB / 0.6838 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.18, allocations: 4 kB / 0.6838 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.18, allocations: 11.98 kB / 0.6839 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.18, allocations: 3.938 kB / 0.6839 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.18, allocations: 0 / 0.6839 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.1817, allocations: 454.9 kB / 0.6843 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.1819, allocations: 160.7 kB / 0.6844 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.99e-05/0.182, allocations: 12 kB / 0.6845 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.1825, allocations: 31.97 kB / 0.6845 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.1825, allocations: 15.92 kB / 0.6845 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/0.1826, allocations: 39.97 kB / 0.6845 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001883/0.1828, allocations: 209.9 kB / 0.6847 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1828, allocations: 0 / 0.6847 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003453/0.1831, allocations: 51.98 kB / 0.6848 GB, free: 0.5117 MB / 0.5137 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.002036/0.1852, allocations: 0.9909 MB / 0.6858 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001178/0.1864, allocations: 378.5 kB / 0.6861 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1864, allocations: 0 / 0.6861 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007731/0.1872, allocations: 116.2 kB / 0.6862 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.1875, allocations: 35.67 kB / 0.6863 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.1911, allocations: 2.367 MB / 0.6886 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.1914, allocations: 0.7418 MB / 0.6893 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.522e-05/0.1915, allocations: 13.08 kB / 0.6893 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.1915, allocations: 27.42 kB / 0.6893 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.1915, allocations: 0 / 0.6893 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.2134, allocations: 4.816 MB / 0.694 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/7.721, allocations: 13.36 kB / 0.6941 GB, free: 6.914 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)