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.01012/0.01012, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.002198/0.002198, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.9829/0.9829, allocations: 143 MB / 433.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 63.89 kB / 0.595 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4683/0.4704, allocations: 82.03 MB / 0.6751 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002491/0.473, allocations: 1.478 MB / 0.6766 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009448/0.4739, allocations: 443.2 kB / 0.677 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.474, allocations: 3.938 kB / 0.677 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.375e-05/0.4741, allocations: 5.281 kB / 0.677 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.337e-05/0.4742, allocations: 19.42 kB / 0.677 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006772/0.4749, allocations: 255.6 kB / 0.6773 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.4753, allocations: 337.3 kB / 0.6776 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.4753, allocations: 5.156 kB / 0.6776 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.4756, allocations: 197.2 kB / 0.6778 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.4758, allocations: 118.3 kB / 0.6779 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.109e-05/0.4759, allocations: 19.62 kB / 0.6779 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.987e-05/0.476, allocations: 18.28 kB / 0.6779 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.4761, allocations: 78.28 kB / 0.678 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.4762, allocations: 132.1 kB / 0.6781 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.4766, allocations: 299.1 kB / 0.6784 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4766, allocations: 4 kB / 0.6784 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.895e-06/0.4766, allocations: 1.156 kB / 0.6784 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.4766, allocations: 0 / 0.6784 GB, free: 14.7 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.00111/0.4777, allocations: 0.7312 MB / 0.6791 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4778, allocations: 9.219 kB / 0.6791 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.277e-05/0.4778, allocations: 41.14 kB / 0.6792 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.605e-05/0.4779, allocations: 34.34 kB / 0.6792 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.4783, allocations: 270.8 kB / 0.6795 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/0.4783, allocations: 25.09 kB / 0.6795 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.384e-05/0.4784, allocations: 18.73 kB / 0.6795 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009907/0.4794, allocations: 195 kB / 0.6797 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4794, allocations: 0 / 0.6797 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.4794, allocations: 5.062 kB / 0.6797 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.4795, allocations: 6.578 kB / 0.6797 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007818/0.4802, allocations: 95.92 kB / 0.6798 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.4807, allocations: 304.4 kB / 0.6801 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.4817, allocations: 189.5 kB / 0.6803 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007554/0.4825, allocations: 107.6 kB / 0.6804 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.4825, allocations: 2.25 kB / 0.6804 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.4836, allocations: 214.3 kB / 0.6806 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.4836, allocations: 0 / 0.6806 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002664/0.4863, allocations: 445.9 kB / 0.681 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/0.4864, allocations: 67.61 kB / 0.6811 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/0.4868, allocations: 296.6 kB / 0.6814 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.323e-05/0.4869, allocations: 35.52 kB / 0.6814 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.875e-05/0.487, allocations: 90.02 kB / 0.6815 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/0.4871, allocations: 41.3 kB / 0.6815 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.4873, allocations: 99.2 kB / 0.6816 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.4875, allocations: 321.1 kB / 0.6819 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.4877, allocations: 85.28 kB / 0.682 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.488, allocations: 136.3 kB / 0.6821 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.4884, allocations: 238.9 kB / 0.6824 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.4884, allocations: 1.375 kB / 0.6824 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007803/0.4892, allocations: 393.5 kB / 0.6827 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.78e-05/0.4893, allocations: 72.42 kB / 0.6828 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.4893, allocations: 2.75 kB / 0.6828 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.4894, allocations: 2.75 kB / 0.6828 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.4896, allocations: 29.66 kB / 0.6828 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.4896, allocations: 2.75 kB / 0.6828 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005302/0.4901, allocations: 60.8 kB / 0.6829 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.561e-05/0.4902, allocations: 42.42 kB / 0.6829 GB, free: 11.22 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.0002404/0.4905, allocations: 170.5 kB / 0.6831 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.4905, allocations: 23.59 kB / 0.6831 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.822e-05/0.4906, allocations: 28.48 kB / 0.6831 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4906, allocations: 2.375 kB / 0.6831 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.4906, allocations: 0 / 0.6831 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.4907, allocations: 5.203 kB / 0.6832 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.4929, allocations: 0.6974 MB / 0.6838 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4929, allocations: 0 / 0.6838 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.493, allocations: 3.969 kB / 0.6838 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.493, allocations: 1.281 kB / 0.6838 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.4931, allocations: 16.22 kB / 0.6839 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.4931, allocations: 1.281 kB / 0.6839 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4931, allocations: 4 kB / 0.6839 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.4949, allocations: 448.2 kB / 0.6843 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.4951, allocations: 165.5 kB / 0.6844 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.474e-05/0.4952, allocations: 13.58 kB / 0.6845 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004911/0.4957, allocations: 31.69 kB / 0.6845 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.4958, allocations: 12.42 kB / 0.6845 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.139e-05/0.4959, allocations: 45.75 kB / 0.6845 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002391/0.4961, allocations: 206.9 kB / 0.6847 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4961, allocations: 0 / 0.6847 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004242/0.4965, allocations: 53.42 kB / 0.6848 GB, free: 9.922 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.002184/0.4987, allocations: 0.9927 MB / 0.6858 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.5001, allocations: 375.1 kB / 0.6861 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5002, allocations: 0 / 0.6861 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008111/0.501, allocations: 129.4 kB / 0.6862 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.5014, allocations: 26.64 kB / 0.6863 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003964/0.5054, allocations: 2.366 MB / 0.6886 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.5057, allocations: 0.7419 MB / 0.6893 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.047e-05/0.5058, allocations: 12.97 kB / 0.6893 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.5059, allocations: 25.42 kB / 0.6893 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of SimCode: time 2.104e-06/0.5059, allocations: 1.156 kB / 0.6893 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.5272, allocations: 4.938 MB / 0.6942 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/8.084, allocations: 14.55 kB / 0.6942 GB, free: 2.379 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)