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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.004795/0.004796, allocations: 97.88 kB / 15.73 MB, free: 6.004 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.001308/0.001308, allocations: 193 kB / 16.67 MB, free: 5.934 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.041/1.041, allocations: 143.3 MB / 433.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 63.91 kB / 0.5953 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4048, allocations: 82.01 MB / 0.6754 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002288/0.4071, allocations: 1.486 MB / 0.6768 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000947/0.4081, allocations: 437.7 kB / 0.6772 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.4081, allocations: 1.375 kB / 0.6772 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.567e-05/0.4083, allocations: 11.88 kB / 0.6772 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.351e-05/0.4084, allocations: 19.55 kB / 0.6773 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006583/0.409, allocations: 253 kB / 0.6775 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003758/0.4094, allocations: 329.4 kB / 0.6778 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.4095, allocations: 13.31 kB / 0.6778 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.4097, allocations: 192.8 kB / 0.678 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.41, allocations: 114 kB / 0.6781 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.219e-05/0.41, allocations: 19.81 kB / 0.6781 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.866e-05/0.4101, allocations: 18.22 kB / 0.6782 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.4102, allocations: 82.14 kB / 0.6782 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.4104, allocations: 129.4 kB / 0.6784 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.4107, allocations: 304.6 kB / 0.6787 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.4108, allocations: 0 / 0.6787 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.21e-07/0.4108, allocations: 0 / 0.6787 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.4108, allocations: 1.188 kB / 0.6787 GB, free: 14.57 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.001082/0.4119, allocations: 0.7495 MB / 0.6794 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.4119, allocations: 13.5 kB / 0.6794 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.774e-05/0.412, allocations: 42.05 kB / 0.6794 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.171e-05/0.412, allocations: 31.11 kB / 0.6795 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.4124, allocations: 266.4 kB / 0.6797 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.4124, allocations: 16.75 kB / 0.6797 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/0.4125, allocations: 22.67 kB / 0.6798 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009317/0.4134, allocations: 194.7 kB / 0.6799 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4134, allocations: 1.062 kB / 0.6799 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.4135, allocations: 1.094 kB / 0.6799 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.4135, allocations: 4.969 kB / 0.68 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000734/0.4142, allocations: 104.2 kB / 0.6801 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.4146, allocations: 313.2 kB / 0.6804 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.4156, allocations: 180.4 kB / 0.6805 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007182/0.4164, allocations: 104.5 kB / 0.6806 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.4164, allocations: 2.312 kB / 0.6806 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009582/0.4174, allocations: 222.1 kB / 0.6808 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.4174, allocations: 0 / 0.6808 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002466/0.4198, allocations: 453.9 kB / 0.6813 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.4199, allocations: 63.94 kB / 0.6813 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.4203, allocations: 292.2 kB / 0.6816 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.4203, allocations: 35.33 kB / 0.6816 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.4204, allocations: 86.73 kB / 0.6817 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.4204, allocations: 49.31 kB / 0.6818 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.4206, allocations: 94.92 kB / 0.6819 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.4208, allocations: 325.6 kB / 0.6822 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.421, allocations: 75.95 kB / 0.6822 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.4212, allocations: 146.2 kB / 0.6824 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.4216, allocations: 240.5 kB / 0.6826 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4216, allocations: 1.375 kB / 0.6826 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006582/0.4222, allocations: 398.8 kB / 0.683 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.71e-05/0.4223, allocations: 71.67 kB / 0.6831 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4223, allocations: 1.406 kB / 0.6831 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.4224, allocations: 6.391 kB / 0.6831 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.4225, allocations: 23.34 kB / 0.6831 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.4225, allocations: 5.562 kB / 0.6831 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/0.423, allocations: 60.72 kB / 0.6832 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/0.4231, allocations: 42.89 kB / 0.6832 GB, free: 11.07 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.0001909/0.4233, allocations: 167.1 kB / 0.6834 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.4233, allocations: 27.92 kB / 0.6834 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.859e-05/0.4234, allocations: 28.83 kB / 0.6834 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.4234, allocations: 1.344 kB / 0.6834 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4234, allocations: 0 / 0.6834 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.4234, allocations: 5.297 kB / 0.6834 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.4256, allocations: 0.689 MB / 0.6841 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.4256, allocations: 1.375 kB / 0.6841 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.4256, allocations: 6.688 kB / 0.6841 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4256, allocations: 1.375 kB / 0.6841 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.4257, allocations: 24.22 kB / 0.6841 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.4257, allocations: 1.375 kB / 0.6841 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4257, allocations: 0 / 0.6841 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.4274, allocations: 453.6 kB / 0.6846 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.4276, allocations: 157.3 kB / 0.6847 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.964e-05/0.4276, allocations: 21.36 kB / 0.6847 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/0.4281, allocations: 26.81 kB / 0.6848 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.4281, allocations: 12.8 kB / 0.6848 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.472e-05/0.4282, allocations: 41.7 kB / 0.6848 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000242/0.4285, allocations: 210.9 kB / 0.685 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4285, allocations: 4 kB / 0.685 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003348/0.4288, allocations: 50.39 kB / 0.6851 GB, free: 9.77 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.002046/0.4309, allocations: 0.9924 MB / 0.686 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.432, allocations: 375.1 kB / 0.6864 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.432, allocations: 384 / 0.6864 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007245/0.4328, allocations: 129.5 kB / 0.6865 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.4331, allocations: 29.08 kB / 0.6865 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.4367, allocations: 2.363 MB / 0.6888 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.4371, allocations: 0.742 MB / 0.6896 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.666e-05/0.4371, allocations: 16.86 kB / 0.6896 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.4372, allocations: 21.92 kB / 0.6896 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of SimCode: time 6.41e-07/0.4372, allocations: 0 / 0.6896 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2131/0.6504, allocations: 4.847 MB / 0.6943 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.314/8.965, allocations: 10.69 kB / 0.6943 GB, free: 2.309 MB / 0.5137 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)