Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IBPSA_latest_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.00128/0.00128, allocations: 103.3 kB / 16.27 MB, free: 5.977 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.001607/0.001607, allocations: 187.7 kB / 17.19 MB, free: 5.605 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7903/0.7903, allocations: 122.8 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 55.91 kB / 0.4912 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3978, allocations: 77.93 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.00268/0.4006, allocations: 1.502 MB / 0.5687 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.4019, allocations: 0.5448 MB / 0.5693 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.181e-05/0.4019, allocations: 1.281 kB / 0.5693 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.746e-05/0.402, allocations: 9.891 kB / 0.5693 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.4022, allocations: 27.2 kB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008138/0.403, allocations: 316.5 kB / 0.5696 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005285/0.4035, allocations: 0.5009 MB / 0.5701 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.393e-05/0.4036, allocations: 13.8 kB / 0.5701 GB, free: 30.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003663/0.404, allocations: 270.8 kB / 0.5704 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.4042, allocations: 138 kB / 0.5705 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.4043, allocations: 26.09 kB / 0.5705 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.4045, allocations: 27.94 kB / 0.5706 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.4046, allocations: 110.9 kB / 0.5707 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.4048, allocations: 186.9 kB / 0.5708 GB, free: 30.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000501/0.4054, allocations: 424 kB / 0.5712 GB, free: 30.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4054, allocations: 5.375 kB / 0.5712 GB, free: 30.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4054, allocations: 0.6562 kB / 0.5712 GB, free: 30.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.4054, allocations: 0.7188 kB / 0.5712 GB, free: 30.52 MB / 446.1 MB 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.001169/0.4066, allocations: 0.8727 MB / 0.5721 GB, free: 29.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.4066, allocations: 10.72 kB / 0.5721 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.443e-05/0.4067, allocations: 39.23 kB / 0.5721 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.4068, allocations: 51.84 kB / 0.5722 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.4071, allocations: 309.6 kB / 0.5725 GB, free: 29.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/0.4072, allocations: 13.89 kB / 0.5725 GB, free: 29.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.273e-05/0.4073, allocations: 29.5 kB / 0.5725 GB, free: 29.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.4084, allocations: 213.9 kB / 0.5727 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4084, allocations: 4.656 kB / 0.5727 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.4084, allocations: 3.797 kB / 0.5727 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.4084, allocations: 1.562 kB / 0.5727 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000802/0.4092, allocations: 102 kB / 0.5728 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.4098, allocations: 400.8 kB / 0.5732 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.4109, allocations: 174 kB / 0.5734 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000777/0.4117, allocations: 111 kB / 0.5735 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.4118, allocations: 6.766 kB / 0.5735 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.4128, allocations: 226.2 kB / 0.5737 GB, free: 28.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.4128, allocations: 0 / 0.5737 GB, free: 28.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0027/0.4155, allocations: 487.4 kB / 0.5742 GB, free: 28.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.4156, allocations: 57.66 kB / 0.5742 GB, free: 28.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.4161, allocations: 416.7 kB / 0.5746 GB, free: 28.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.823e-05/0.4161, allocations: 41.7 kB / 0.5747 GB, free: 28.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.4162, allocations: 95.11 kB / 0.5748 GB, free: 28.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.4163, allocations: 32.98 kB / 0.5748 GB, free: 28.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.4165, allocations: 138.6 kB / 0.5749 GB, free: 28.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.4166, allocations: 321.2 kB / 0.5752 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.4169, allocations: 121.5 kB / 0.5754 GB, free: 27.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.4172, allocations: 177 kB / 0.5755 GB, free: 27.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.4175, allocations: 274.3 kB / 0.5758 GB, free: 27.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4175, allocations: 1.375 kB / 0.5758 GB, free: 27.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00081/0.4183, allocations: 492.8 kB / 0.5763 GB, free: 27.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.962e-05/0.4184, allocations: 94.52 kB / 0.5763 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.4184, allocations: 2.406 kB / 0.5763 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.4185, allocations: 6.344 kB / 0.5764 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.4186, allocations: 24.36 kB / 0.5764 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.4186, allocations: 3.062 kB / 0.5764 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005392/0.4192, allocations: 62.94 kB / 0.5764 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.691e-05/0.4193, allocations: 61.28 kB / 0.5765 GB, free: 27.39 MB / 446.1 MB 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.0002281/0.4195, allocations: 198.8 kB / 0.5767 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.4196, allocations: 41.08 kB / 0.5767 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.481e-05/0.4197, allocations: 44.8 kB / 0.5768 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.4197, allocations: 1.984 kB / 0.5768 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4197, allocations: 0 / 0.5768 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.4197, allocations: 2.141 kB / 0.5768 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.4219, allocations: 0.7401 MB / 0.5775 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.4219, allocations: 8.578 kB / 0.5775 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.705e-05/0.422, allocations: 12.17 kB / 0.5775 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.422, allocations: 1.375 kB / 0.5775 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.422, allocations: 21.98 kB / 0.5775 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.4221, allocations: 1.891 kB / 0.5775 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4221, allocations: 0 / 0.5775 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.4238, allocations: 476.3 kB / 0.578 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.4241, allocations: 200.4 kB / 0.5782 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.003e-05/0.4242, allocations: 15.78 kB / 0.5782 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004943/0.4247, allocations: 31.11 kB / 0.5782 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.4247, allocations: 11.62 kB / 0.5782 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.792e-05/0.4248, allocations: 55.83 kB / 0.5783 GB, free: 26.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003433/0.4252, allocations: 294 kB / 0.5786 GB, free: 26.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4252, allocations: 6.469 kB / 0.5786 GB, free: 26.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004809/0.4257, allocations: 64.98 kB / 0.5786 GB, free: 26.31 MB / 446.1 MB 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.001983/0.4277, allocations: 1.021 MB / 0.5796 GB, free: 25.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.429, allocations: 449.2 kB / 0.5801 GB, free: 25.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.429, allocations: 1.438 kB / 0.5801 GB, free: 25.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007834/0.4298, allocations: 123 kB / 0.5802 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.4302, allocations: 25.17 kB / 0.5802 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.4338, allocations: 2.781 MB / 0.5829 GB, free: 23.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.4341, allocations: 0.7731 MB / 0.5837 GB, free: 22.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.262e-05/0.4341, allocations: 9.688 kB / 0.5837 GB, free: 22.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.4342, allocations: 22.92 kB / 0.5837 GB, free: 22.48 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4342, allocations: 0 / 0.5837 GB, free: 22.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.458, allocations: 6.172 MB / 0.5897 GB, free: 19.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.84/8.298, allocations: 1.406 kB / 0.5897 GB, free: 19.09 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)