Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.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.0007549/0.0007549, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008456/0.0008456, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.828/0.828, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001326/0.001326, allocations: 225.2 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6443/0.6443, allocations: 138.4 MB / 454.3 MB, free: 29.98 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6462 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.249e-05, allocations: 13.25 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002172/0.002194, allocations: 1.523 MB / 0.6477 GB, free: 356 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2366/0.2388, allocations: 0.5215 MB / 0.6483 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.536e-05/0.2389, allocations: 1.344 kB / 0.6483 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.239, allocations: 9.984 kB / 0.6483 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.2392, allocations: 28.23 kB / 0.6483 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008557/0.24, allocations: 319.2 kB / 0.6486 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00051/0.2405, allocations: 490.2 kB / 0.6491 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.881e-05/0.2406, allocations: 3.594 kB / 0.6491 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000449/0.241, allocations: 362 kB / 0.6494 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.2413, allocations: 124.5 kB / 0.6495 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.072e-05/0.2414, allocations: 27.19 kB / 0.6496 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.395e-05/0.2414, allocations: 27.69 kB / 0.6496 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.2415, allocations: 116 kB / 0.6497 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.2417, allocations: 137 kB / 0.6498 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.2421, allocations: 459.6 kB / 0.6503 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2421, allocations: 0 / 0.6503 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2421, allocations: 3.219 kB / 0.6503 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.2421, allocations: 0 / 0.6503 GB, free: 55.8 MB / 0.5573 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.0008987/0.243, allocations: 0.7935 MB / 0.651 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.243, allocations: 16.19 kB / 0.6511 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.2431, allocations: 40.72 kB / 0.6511 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.616e-05/0.2432, allocations: 53.91 kB / 0.6511 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.2434, allocations: 253.3 kB / 0.6514 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.2435, allocations: 17.86 kB / 0.6514 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/0.2435, allocations: 31.48 kB / 0.6514 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005855/0.2441, allocations: 229.5 kB / 0.6517 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2441, allocations: 2.5 kB / 0.6517 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.2441, allocations: 1.781 kB / 0.6517 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2441, allocations: 6.875 kB / 0.6517 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003699/0.2445, allocations: 115.4 kB / 0.6518 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.2448, allocations: 307.8 kB / 0.6521 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/0.2453, allocations: 183.8 kB / 0.6522 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/0.2457, allocations: 119.2 kB / 0.6524 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.2457, allocations: 8.312 kB / 0.6524 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005504/0.2463, allocations: 231.1 kB / 0.6526 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.2463, allocations: 0.8125 kB / 0.6526 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16): time 0.001308/0.2476, allocations: 0.5332 MB / 0.6531 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.2476, allocations: 56.42 kB / 0.6532 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.2479, allocations: 411.9 kB / 0.6536 GB, free: 54.13 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.2479, allocations: 41.61 kB / 0.6536 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.248, allocations: 100.7 kB / 0.6537 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.248, allocations: 41.62 kB / 0.6537 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.2481, allocations: 124.3 kB / 0.6539 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.765e-05/0.2482, allocations: 326.1 kB / 0.6542 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.2484, allocations: 191.7 kB / 0.6543 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.2486, allocations: 248.2 kB / 0.6546 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.2488, allocations: 279.6 kB / 0.6548 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2488, allocations: 0 / 0.6548 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005159/0.2493, allocations: 0.554 MB / 0.6554 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.2494, allocations: 85.08 kB / 0.6555 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2494, allocations: 2.031 kB / 0.6555 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2494, allocations: 7.531 kB / 0.6555 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.2495, allocations: 29.59 kB / 0.6555 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2495, allocations: 6.938 kB / 0.6555 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.2498, allocations: 66.2 kB / 0.6556 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/0.2498, allocations: 63.42 kB / 0.6556 GB, free: 52.79 MB / 0.5573 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.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.0001593/0.25, allocations: 195.5 kB / 0.6558 GB, free: 52.65 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.25, allocations: 40.61 kB / 0.6559 GB, free: 52.63 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.254e-05/0.2501, allocations: 41.5 kB / 0.6559 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.2501, allocations: 6.594 kB / 0.6559 GB, free: 52.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2501, allocations: 0 / 0.6559 GB, free: 52.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2501, allocations: 1.312 kB / 0.6559 GB, free: 52.6 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.2513, allocations: 0.7292 MB / 0.6566 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2513, allocations: 5.625 kB / 0.6566 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.2513, allocations: 8.828 kB / 0.6566 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.2513, allocations: 0.8906 kB / 0.6566 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.2513, allocations: 26.97 kB / 0.6567 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2513, allocations: 2.875 kB / 0.6567 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2514, allocations: 0 / 0.6567 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008375/0.2522, allocations: 0.5001 MB / 0.6572 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.2524, allocations: 139.2 kB / 0.6573 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.2524, allocations: 10.44 kB / 0.6573 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.2526, allocations: 35.52 kB / 0.6573 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.2526, allocations: 20.36 kB / 0.6573 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/0.2527, allocations: 59.75 kB / 0.6574 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002026/0.2529, allocations: 293 kB / 0.6577 GB, free: 51.83 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.1e-07/0.2529, allocations: 0 / 0.6577 GB, free: 51.83 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002639/0.2532, allocations: 69.53 kB / 0.6578 GB, free: 51.82 MB / 0.5573 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 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.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.0009792/0.2541, allocations: 1.06 MB / 0.6588 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007042/0.2548, allocations: 488.4 kB / 0.6593 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2548, allocations: 1.844 kB / 0.6593 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003436/0.2552, allocations: 131.5 kB / 0.6594 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.2554, allocations: 27.11 kB / 0.6594 GB, free: 50.79 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.2579, allocations: 3.111 MB / 0.6624 GB, free: 48.67 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.258, allocations: 169.5 kB / 0.6626 GB, free: 48.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.034e-05/0.2581, allocations: 15.05 kB / 0.6626 GB, free: 48.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.262e-05/0.2581, allocations: 22.66 kB / 0.6626 GB, free: 48.56 MB / 0.5573 GB Notification: Performance of SimCode: time 8.92e-07/0.2582, allocations: 0 / 0.6626 GB, free: 48.56 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.2768, allocations: 7.964 MB / 0.6704 GB, free: 46.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.475/6.752, allocations: 18.16 kB / 0.6704 GB, free: 46.62 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.183865698054433] Failed to read output from testmodel.py, exit status != 0: 6.831715261563659 6.841447689 6.597428659 Calling exit ...