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.001351/0.001351, 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.001308/0.001308, allocations: 174.3 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.9009/0.9009, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.575/0.575, allocations: 114 MB / 373.9 MB, free: 8.719 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.763e-06/1.763e-06, allocations: 0 / 0.5541 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.126e-05, allocations: 3.547 kB / 0.5541 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.00196/0.001981, allocations: 1.517 MB / 0.5556 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009925/0.002973, allocations: 0.5292 MB / 0.5561 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.208e-05/0.003025, allocations: 0 / 0.5561 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.433e-05/0.00312, allocations: 11.81 kB / 0.5562 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.003227, allocations: 27.84 kB / 0.5562 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005785/0.003806, allocations: 314.5 kB / 0.5565 GB, free: 448 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.004161, allocations: 491.4 kB / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.0042, allocations: 4 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003131/0.004513, allocations: 347.6 kB / 0.5573 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.004704, allocations: 135.5 kB / 0.5574 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002758/0.004979, allocations: 28 kB / 0.5574 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 4.894e-05/0.005028, allocations: 24 kB / 0.5575 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.005126, allocations: 123.6 kB / 0.5576 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.005228, allocations: 131.7 kB / 0.5577 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.005564, allocations: 466.8 kB / 0.5581 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.005569, allocations: 0 / 0.5581 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.613e-06/0.00557, allocations: 3.938 kB / 0.5582 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.005576, allocations: 3.938 kB / 0.5582 GB, free: 14.71 MB / 0.5261 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.0008302/0.006406, allocations: 0.7989 MB / 0.5589 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.006444, allocations: 12.62 kB / 0.5589 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.766e-05/0.006491, allocations: 38.73 kB / 0.559 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.5e-05/0.006566, allocations: 56.66 kB / 0.559 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.006821, allocations: 252 kB / 0.5593 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.006866, allocations: 20.36 kB / 0.5593 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.00691, allocations: 28.36 kB / 0.5593 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/0.007432, allocations: 233.9 kB / 0.5595 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.00744, allocations: 192 / 0.5595 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.00746, allocations: 8.359 kB / 0.5596 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.007466, allocations: 4.125 kB / 0.5596 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000361/0.007827, allocations: 111.9 kB / 0.5597 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.008101, allocations: 304.5 kB / 0.56 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005111/0.008612, allocations: 186.5 kB / 0.5601 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.008958, allocations: 112.8 kB / 0.5602 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.008981, allocations: 7.984 kB / 0.5603 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004995/0.00948, allocations: 241.3 kB / 0.5605 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.153e-06/0.009481, allocations: 0 / 0.5605 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.001536/0.01102, allocations: 0.5244 MB / 0.561 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.01106, allocations: 59.41 kB / 0.5611 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.01133, allocations: 409.9 kB / 0.5614 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.01136, allocations: 49.62 kB / 0.5615 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.01142, allocations: 97.42 kB / 0.5616 GB, free: 11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.01145, allocations: 39.73 kB / 0.5616 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.01157, allocations: 137.3 kB / 0.5617 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.019e-05/0.01165, allocations: 326.8 kB / 0.5621 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.01185, allocations: 187.3 kB / 0.5622 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.01206, allocations: 249.3 kB / 0.5625 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.0123, allocations: 267.4 kB / 0.5627 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.0123, allocations: 3.938 kB / 0.5627 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005421/0.01284, allocations: 0.5548 MB / 0.5633 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.795e-05/0.0129, allocations: 79.38 kB / 0.5634 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01291, allocations: 4 kB / 0.5634 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.01293, allocations: 7.938 kB / 0.5634 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.01303, allocations: 23.91 kB / 0.5634 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.01304, allocations: 4 kB / 0.5634 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.01328, allocations: 68.03 kB / 0.5635 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.01334, allocations: 67.92 kB / 0.5635 GB, free: 8.871 MB / 0.5261 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.0001816/0.01352, allocations: 193.7 kB / 0.5637 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.01356, allocations: 39.77 kB / 0.5637 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.974e-05/0.01362, allocations: 39.69 kB / 0.5638 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.01363, allocations: 7.875 kB / 0.5638 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.01364, allocations: 4 kB / 0.5638 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.01364, allocations: 3.984 kB / 0.5638 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.01491, allocations: 0.7342 MB / 0.5645 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.01492, allocations: 3.938 kB / 0.5645 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.01494, allocations: 7.984 kB / 0.5645 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.01495, allocations: 4 kB / 0.5645 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.01497, allocations: 19.98 kB / 0.5645 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01497, allocations: 4 kB / 0.5646 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.01497, allocations: 3.984 kB / 0.5646 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008442/0.01582, allocations: 0.4956 MB / 0.565 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.01599, allocations: 133.5 kB / 0.5652 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.01603, allocations: 12 kB / 0.5652 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.01625, allocations: 46.83 kB / 0.5652 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.01628, allocations: 11.92 kB / 0.5652 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.01632, allocations: 55.98 kB / 0.5653 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001878/0.01651, allocations: 299.1 kB / 0.5656 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.01651, allocations: 0 / 0.5656 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002494/0.01676, allocations: 63.98 kB / 0.5656 GB, free: 6.637 MB / 0.5261 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.001047/0.0178, allocations: 1.068 MB / 0.5667 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006936/0.0185, allocations: 486.2 kB / 0.5671 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.0185, allocations: 4.125 kB / 0.5671 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.01884, allocations: 127.8 kB / 0.5673 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.01909, allocations: 34.17 kB / 0.5673 GB, free: 4.871 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.02202, allocations: 3.12 MB / 0.5703 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.02213, allocations: 167 kB / 0.5705 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.165e-05/0.02219, allocations: 13.14 kB / 0.5705 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.02224, allocations: 28.48 kB / 0.5705 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of SimCode: time 9.72e-07/0.02224, allocations: 0 / 0.5705 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.04323, allocations: 7.997 MB / 0.5784 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.219/7.263, allocations: 8.656 kB / 0.5784 GB, free: 9.438 MB / 0.5417 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime_res.csv --start-time 0 --stop-time 1e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 40000 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: 10.444836819544435] Failed to read output from testmodel.py, exit status != 0: 7.347124945372343 7.357989813 7.350385788 Calling exit ...