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.001393/0.001393, allocations: 108 kB / 15.6 MB, free: 132 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.001273/0.001274, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.457/1.457, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.9945/0.9945, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 67.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1507, allocations: 82.03 MB / 0.5944 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002256/0.153, allocations: 1.483 MB / 0.5958 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008128/0.1538, allocations: 427.3 kB / 0.5962 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.1539, allocations: 0 / 0.5962 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.929e-05/0.154, allocations: 11.86 kB / 0.5962 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.501e-05/0.1541, allocations: 20.23 kB / 0.5963 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006169/0.1547, allocations: 246.9 kB / 0.5965 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.155, allocations: 331.5 kB / 0.5968 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.1551, allocations: 15.97 kB / 0.5968 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.1553, allocations: 191.7 kB / 0.597 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.1556, allocations: 108.1 kB / 0.5971 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.3e-05/0.1556, allocations: 20 kB / 0.5971 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.466e-05/0.1557, allocations: 16 kB / 0.5972 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.215e-05/0.1558, allocations: 83.72 kB / 0.5972 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.1559, allocations: 127.4 kB / 0.5974 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.1562, allocations: 311.3 kB / 0.5977 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1562, allocations: 0 / 0.5977 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.82e-07/0.1562, allocations: 3.938 kB / 0.5977 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.1562, allocations: 0 / 0.5977 GB, free: 6.125 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.0009187/0.1572, allocations: 0.7461 MB / 0.5984 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1572, allocations: 12.03 kB / 0.5984 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.573e-05/0.1573, allocations: 34.75 kB / 0.5984 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.296e-05/0.1573, allocations: 36.64 kB / 0.5985 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.1576, allocations: 263.6 kB / 0.5987 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.1577, allocations: 16.12 kB / 0.5987 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/0.1577, allocations: 16 kB / 0.5987 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009043/0.1586, allocations: 201.4 kB / 0.5989 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.1586, allocations: 3.938 kB / 0.5989 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.1587, allocations: 3.938 kB / 0.5989 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1587, allocations: 4 kB / 0.5989 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007272/0.1594, allocations: 95.92 kB / 0.599 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.1597, allocations: 321.3 kB / 0.5993 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009706/0.1607, allocations: 174.4 kB / 0.5995 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007162/0.1614, allocations: 104.8 kB / 0.5996 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.1615, allocations: 7.984 kB / 0.5996 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008444/0.1623, allocations: 215.1 kB / 0.5998 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.1623, allocations: 0 / 0.5998 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002328/0.1647, allocations: 447.7 kB / 0.6003 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.1647, allocations: 55.41 kB / 0.6003 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.165, allocations: 294.9 kB / 0.6006 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.165, allocations: 41.69 kB / 0.6006 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.1651, allocations: 85.14 kB / 0.6007 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.1651, allocations: 39.61 kB / 0.6007 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.1652, allocations: 101.4 kB / 0.6008 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.725e-05/0.1653, allocations: 326.8 kB / 0.6012 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.1655, allocations: 79.94 kB / 0.6012 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.1657, allocations: 142.8 kB / 0.6014 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.166, allocations: 237.2 kB / 0.6016 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.166, allocations: 0 / 0.6016 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005822/0.1666, allocations: 402.9 kB / 0.602 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.08e-05/0.1667, allocations: 71.39 kB / 0.602 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1667, allocations: 4 kB / 0.602 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1667, allocations: 4 kB / 0.6021 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.1669, allocations: 27.91 kB / 0.6021 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1669, allocations: 4 kB / 0.6021 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004422/0.1673, allocations: 52.05 kB / 0.6021 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.1674, allocations: 43.98 kB / 0.6022 GB, free: 1.145 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.0001488/0.1675, allocations: 181.6 kB / 0.6023 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.1676, allocations: 23.72 kB / 0.6024 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.1676, allocations: 30.3 kB / 0.6024 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1676, allocations: 0 / 0.6024 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1677, allocations: 0 / 0.6024 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1677, allocations: 3.984 kB / 0.6024 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.1696, allocations: 0.6898 MB / 0.6031 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.1696, allocations: 0 / 0.6031 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.404e-05/0.1696, allocations: 15.92 kB / 0.6031 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1696, allocations: 8 kB / 0.6031 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.1697, allocations: 11.98 kB / 0.6031 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1697, allocations: 0 / 0.6031 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1697, allocations: 3.938 kB / 0.6031 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2171/0.3868, allocations: 450.6 kB / 0.6035 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.3871, allocations: 157.9 kB / 0.6037 GB, free: 44.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.418e-05/0.3872, allocations: 10.72 kB / 0.6037 GB, free: 44.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004741/0.3877, allocations: 35.3 kB / 0.6037 GB, free: 44.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.3878, allocations: 7.906 kB / 0.6037 GB, free: 44.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.488e-05/0.3878, allocations: 41.88 kB / 0.6038 GB, free: 44.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002254/0.388, allocations: 206.1 kB / 0.604 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.02e-07/0.3881, allocations: 3.969 kB / 0.604 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004353/0.3885, allocations: 49.73 kB / 0.604 GB, free: 44.06 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.002288/0.3908, allocations: 0.9903 MB / 0.605 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001604/0.3924, allocations: 390.1 kB / 0.6054 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.3924, allocations: 0.5 kB / 0.6054 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008056/0.3933, allocations: 114.8 kB / 0.6055 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/0.3938, allocations: 22.92 kB / 0.6055 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/0.398, allocations: 2.382 MB / 0.6078 GB, free: 41.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.3982, allocations: 0.7349 MB / 0.6085 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.729e-05/0.3983, allocations: 15.81 kB / 0.6086 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.948e-05/0.3984, allocations: 25.53 kB / 0.6086 GB, free: 41.19 MB / 0.4981 GB Notification: Performance of SimCode: time 9.12e-07/0.3984, allocations: 0 / 0.6086 GB, free: 41.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.42, allocations: 4.826 MB / 0.6133 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/8.207, allocations: 5.875 kB / 0.6133 GB, free: 40.58 MB / 0.4981 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)