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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9345/0.9345, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5661/0.5661, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.5541 GB, free: 1.777 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.534e-05, allocations: 5.094 kB / 0.5541 GB, free: 1.773 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002046/0.002071, allocations: 1.509 MB / 0.5556 GB, free: 260 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.003092, allocations: 0.5303 MB / 0.5561 GB, free: 15.72 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/0.003166, allocations: 0 / 0.5561 GB, free: 15.72 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.003268, allocations: 3.938 kB / 0.5561 GB, free: 15.72 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.003379, allocations: 31.78 kB / 0.5562 GB, free: 15.69 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000694/0.004073, allocations: 317.5 kB / 0.5565 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004201/0.004493, allocations: 491.4 kB / 0.5569 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.907e-05/0.004542, allocations: 8 kB / 0.5569 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003422/0.004884, allocations: 351.6 kB / 0.5573 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.005088, allocations: 131.5 kB / 0.5574 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.78e-05/0.005136, allocations: 28 kB / 0.5574 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.79e-05/0.005183, allocations: 24 kB / 0.5575 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.895e-05/0.005282, allocations: 119.7 kB / 0.5576 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.005396, allocations: 131.7 kB / 0.5577 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.005711, allocations: 458.8 kB / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.005715, allocations: 4 kB / 0.5581 GB, free: 13.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005716, allocations: 4 kB / 0.5581 GB, free: 13.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.005722, allocations: 0 / 0.5581 GB, free: 13.67 MB / 490.7 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.0008358/0.006558, allocations: 0.8033 MB / 0.5589 GB, free: 12.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.0066, allocations: 12.62 kB / 0.5589 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/0.006635, allocations: 34.75 kB / 0.559 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.667e-05/0.006712, allocations: 60.62 kB / 0.559 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.006977, allocations: 256 kB / 0.5593 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.007012, allocations: 16.36 kB / 0.5593 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.007058, allocations: 32.36 kB / 0.5593 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006395/0.007697, allocations: 226 kB / 0.5595 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.007706, allocations: 192 / 0.5595 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.007723, allocations: 4.359 kB / 0.5595 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.00773, allocations: 8.125 kB / 0.5595 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003684/0.008099, allocations: 111.9 kB / 0.5597 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002936/0.008392, allocations: 316.4 kB / 0.56 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/0.008915, allocations: 181.6 kB / 0.5601 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.009261, allocations: 116.8 kB / 0.5602 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.009283, allocations: 8 kB / 0.5603 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004589/0.009742, allocations: 231.2 kB / 0.5605 GB, free: 11.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.009743, allocations: 0 / 0.5605 GB, free: 11.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.001209/0.01095, allocations: 0.5336 MB / 0.561 GB, free: 10.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.01099, allocations: 63.41 kB / 0.5611 GB, free: 10.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.01126, allocations: 405.9 kB / 0.5614 GB, free: 10.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.0113, allocations: 41.69 kB / 0.5615 GB, free: 10.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.01135, allocations: 101.4 kB / 0.5616 GB, free: 9.953 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.01139, allocations: 43.73 kB / 0.5616 GB, free: 9.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.0115, allocations: 129.4 kB / 0.5617 GB, free: 9.777 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.01158, allocations: 322.8 kB / 0.562 GB, free: 9.453 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.01177, allocations: 191.3 kB / 0.5622 GB, free: 9.254 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.01197, allocations: 249.3 kB / 0.5625 GB, free: 8.977 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.0122, allocations: 274.8 kB / 0.5627 GB, free: 8.676 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.0122, allocations: 0 / 0.5627 GB, free: 8.676 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005158/0.01272, allocations: 0.5561 MB / 0.5633 GB, free: 8.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.293e-05/0.01277, allocations: 87.31 kB / 0.5634 GB, free: 7.992 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01278, allocations: 0 / 0.5634 GB, free: 7.992 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.01279, allocations: 7.938 kB / 0.5634 GB, free: 7.984 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.846e-05/0.01289, allocations: 23.91 kB / 0.5634 GB, free: 7.961 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.0129, allocations: 4 kB / 0.5634 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.01312, allocations: 68.03 kB / 0.5635 GB, free: 7.891 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.836e-05/0.01318, allocations: 63.98 kB / 0.5635 GB, free: 7.828 MB / 490.7 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.0001417/0.01332, allocations: 197.7 kB / 0.5637 GB, free: 7.629 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.01336, allocations: 39.77 kB / 0.5637 GB, free: 7.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.0134, allocations: 39.69 kB / 0.5638 GB, free: 7.543 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01341, allocations: 3.938 kB / 0.5638 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01341, allocations: 0 / 0.5638 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.01342, allocations: 11.98 kB / 0.5638 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.01453, allocations: 0.7264 MB / 0.5645 GB, free: 6.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.01454, allocations: 11.88 kB / 0.5645 GB, free: 6.738 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/0.01456, allocations: 7.984 kB / 0.5645 GB, free: 6.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01456, allocations: 0 / 0.5645 GB, free: 6.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.01458, allocations: 23.98 kB / 0.5645 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01458, allocations: 0 / 0.5645 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01458, allocations: 0 / 0.5645 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008384/0.01542, allocations: 0.4994 MB / 0.565 GB, free: 6.191 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.0156, allocations: 145.4 kB / 0.5652 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.01565, allocations: 16 kB / 0.5652 GB, free: 6.031 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.01585, allocations: 39.95 kB / 0.5652 GB, free: 5.992 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.01589, allocations: 7.984 kB / 0.5652 GB, free: 5.984 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.01593, allocations: 55.98 kB / 0.5653 GB, free: 5.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001971/0.01613, allocations: 295.1 kB / 0.5656 GB, free: 5.645 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01613, allocations: 0 / 0.5656 GB, free: 5.645 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002419/0.01637, allocations: 67.98 kB / 0.5656 GB, free: 5.578 MB / 490.7 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.001046/0.01742, allocations: 1.069 MB / 0.5667 GB, free: 4.488 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007107/0.01813, allocations: 493.9 kB / 0.5671 GB, free: 3.969 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01813, allocations: 0 / 0.5671 GB, free: 3.969 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.01848, allocations: 123.9 kB / 0.5673 GB, free: 3.848 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.01891, allocations: 32.5 kB / 0.5673 GB, free: 3.816 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.02207, allocations: 3.12 MB / 0.5703 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.02219, allocations: 167 kB / 0.5705 GB, free: 340 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.477e-05/0.02225, allocations: 9.141 kB / 0.5705 GB, free: 328 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.0223, allocations: 24.48 kB / 0.5705 GB, free: 304 kB / 490.7 MB Notification: Performance of SimCode: time 1.303e-06/0.0223, allocations: 4 kB / 0.5705 GB, free: 300 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.04545, allocations: 7.993 MB / 0.5783 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.231/7.277, allocations: 16.16 kB / 0.5784 GB, free: 8.395 MB / 0.4948 GB " [Timeout remaining time 653] (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 --stepSize=40000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.955859574489295] Failed to read output from testmodel.py, exit status != 0: 7.362130098044872 7.370959496 7.363597817 Calling exit ...