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.001116/0.001116, allocations: 102.1 kB / 15.98 MB, free: 6.348 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.001209/0.001209, allocations: 195.1 kB / 16.91 MB, free: 6.191 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7449/0.7449, allocations: 115.3 MB / 406.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 67.91 kB / 493.2 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4423, allocations: 76.16 MB / 0.556 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002704/0.4451, allocations: 1.565 MB / 0.5575 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.4463, allocations: 0.5444 MB / 0.5581 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.4464, allocations: 5.312 kB / 0.5581 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.4465, allocations: 8.078 kB / 0.5581 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.4467, allocations: 29.69 kB / 0.5581 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007842/0.4475, allocations: 291.3 kB / 0.5584 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005936/0.4481, allocations: 0.5029 MB / 0.5589 GB, free: 34.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.793e-05/0.4481, allocations: 8.859 kB / 0.5589 GB, free: 34.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004682/0.4486, allocations: 334.1 kB / 0.5592 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002911/0.4489, allocations: 167.8 kB / 0.5594 GB, free: 34.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.667e-05/0.449, allocations: 27 kB / 0.5594 GB, free: 34.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.463e-05/0.4491, allocations: 28.38 kB / 0.5594 GB, free: 34.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.4492, allocations: 119.4 kB / 0.5595 GB, free: 34.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.4494, allocations: 194.8 kB / 0.5597 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.4499, allocations: 428.4 kB / 0.5601 GB, free: 34.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4499, allocations: 0 / 0.5601 GB, free: 34.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4499, allocations: 0.5312 kB / 0.5601 GB, free: 34.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.45, allocations: 0 / 0.5601 GB, free: 34.12 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.001174/0.4511, allocations: 0.8683 MB / 0.561 GB, free: 33.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4512, allocations: 10.94 kB / 0.561 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.4512, allocations: 39.77 kB / 0.561 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.4514, allocations: 50.95 kB / 0.5611 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.4517, allocations: 312 kB / 0.5614 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.4518, allocations: 17.02 kB / 0.5614 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.474e-05/0.4519, allocations: 30.22 kB / 0.5614 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.4529, allocations: 216 kB / 0.5616 GB, free: 32.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.4529, allocations: 3.938 kB / 0.5616 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.453, allocations: 3.516 kB / 0.5616 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.453, allocations: 1.531 kB / 0.5616 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007858/0.4538, allocations: 103.9 kB / 0.5617 GB, free: 32.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.4542, allocations: 392.7 kB / 0.5621 GB, free: 32.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.4553, allocations: 174.8 kB / 0.5623 GB, free: 32.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007828/0.4561, allocations: 115.3 kB / 0.5624 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.4562, allocations: 10.52 kB / 0.5624 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001048/0.4572, allocations: 222 kB / 0.5626 GB, free: 32.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.535e-06/0.4572, allocations: 0 / 0.5626 GB, free: 32.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002678/0.4599, allocations: 487.5 kB / 0.5631 GB, free: 32.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.46, allocations: 64.47 kB / 0.5631 GB, free: 32.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.4604, allocations: 411.2 kB / 0.5635 GB, free: 32.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/0.4605, allocations: 39.88 kB / 0.5636 GB, free: 32.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.4606, allocations: 95.8 kB / 0.5636 GB, free: 32.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.4606, allocations: 42.03 kB / 0.5637 GB, free: 32.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.4609, allocations: 128.8 kB / 0.5638 GB, free: 31.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.684e-05/0.4609, allocations: 322 kB / 0.5641 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.4612, allocations: 121.8 kB / 0.5642 GB, free: 31.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.4615, allocations: 180.2 kB / 0.5644 GB, free: 31.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.4619, allocations: 285.2 kB / 0.5647 GB, free: 31.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4619, allocations: 0 / 0.5647 GB, free: 31.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008613/0.4628, allocations: 490.4 kB / 0.5651 GB, free: 31.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.047e-05/0.4629, allocations: 88.53 kB / 0.5652 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.4629, allocations: 3.469 kB / 0.5652 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4629, allocations: 3.469 kB / 0.5652 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.4631, allocations: 27.94 kB / 0.5653 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.4631, allocations: 4.359 kB / 0.5653 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005272/0.4637, allocations: 59.78 kB / 0.5653 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.743e-05/0.4638, allocations: 60.12 kB / 0.5654 GB, free: 31.01 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.0002328/0.464, allocations: 197.4 kB / 0.5656 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/0.4641, allocations: 42.67 kB / 0.5656 GB, free: 30.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.493e-05/0.4642, allocations: 38.17 kB / 0.5656 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4642, allocations: 2.188 kB / 0.5656 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4642, allocations: 1.312 kB / 0.5656 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4642, allocations: 1.312 kB / 0.5656 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.4666, allocations: 0.7459 MB / 0.5664 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4666, allocations: 1.281 kB / 0.5664 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.4666, allocations: 5.469 kB / 0.5664 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4666, allocations: 4.453 kB / 0.5664 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/0.4667, allocations: 23.2 kB / 0.5664 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.4667, allocations: 3.609 kB / 0.5664 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4667, allocations: 3.938 kB / 0.5664 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.4685, allocations: 476.4 kB / 0.5669 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.4688, allocations: 198 kB / 0.5671 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-05/0.4689, allocations: 18.19 kB / 0.5671 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004846/0.4694, allocations: 29.8 kB / 0.5671 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.4694, allocations: 9.266 kB / 0.5671 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.991e-05/0.4695, allocations: 60.47 kB / 0.5672 GB, free: 30.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003488/0.4699, allocations: 293.9 kB / 0.5675 GB, free: 29.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4699, allocations: 1 kB / 0.5675 GB, free: 29.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004649/0.4704, allocations: 64.8 kB / 0.5675 GB, free: 29.93 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.002105/0.4725, allocations: 1.027 MB / 0.5685 GB, free: 29.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.4739, allocations: 444.3 kB / 0.5689 GB, free: 28.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.4739, allocations: 0 / 0.5689 GB, free: 28.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008244/0.4748, allocations: 124.4 kB / 0.5691 GB, free: 28.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.4752, allocations: 23.17 kB / 0.5691 GB, free: 28.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004654/0.4798, allocations: 2.893 MB / 0.5719 GB, free: 26.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.4802, allocations: 0.772 MB / 0.5727 GB, free: 26.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.332e-05/0.4803, allocations: 13.88 kB / 0.5727 GB, free: 26.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.4804, allocations: 25.45 kB / 0.5727 GB, free: 26.27 MB / 446.1 MB Notification: Performance of SimCode: time 9.71e-07/0.4804, allocations: 0 / 0.5727 GB, free: 26.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.5024, allocations: 6.262 MB / 0.5788 GB, free: 24.74 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.5027, allocations: 185.9 kB / 0.579 GB, free: 24.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.414, allocations: 0 / 0.579 GB, free: 24.49 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)