Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001301/0.001301, allocations: 101.2 kB / 20.48 MB, free: 1.477 MB / 14.72 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.001473/0.001473, allocations: 212.5 kB / 23.79 MB, free: 4.676 MB / 14.72 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 1.557/1.557, allocations: 230.6 MB / 257.6 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.9836/0.9836, allocations: 150 MB / 464 MB, free: 10.52 MB / 366.1 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.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 62.47 kB / 0.642 GB, free: 10.47 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1709, allocations: 89.18 MB / 0.7291 GB, free: 1.367 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002991/0.1739, allocations: 1.538 MB / 0.7306 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.1753, allocations: 0.5462 MB / 0.7311 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.412e-05/0.1754, allocations: 0 / 0.7311 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.1755, allocations: 11.86 kB / 0.7311 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.1756, allocations: 31.84 kB / 0.7312 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009322/0.1765, allocations: 314.8 kB / 0.7315 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006177/0.1772, allocations: 491.4 kB / 0.7319 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.1772, allocations: 0 / 0.7319 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004498/0.1777, allocations: 275.7 kB / 0.7322 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003471/0.178, allocations: 155.5 kB / 0.7323 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.876e-05/0.1781, allocations: 28 kB / 0.7324 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.09e-05/0.1782, allocations: 28 kB / 0.7324 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.1783, allocations: 115.7 kB / 0.7325 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.1785, allocations: 187 kB / 0.7327 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005217/0.1791, allocations: 426.7 kB / 0.7331 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1791, allocations: 0 / 0.7331 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1791, allocations: 0 / 0.7331 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.1791, allocations: 0 / 0.7331 GB, free: 13.25 MB / 0.5606 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.001636/0.1807, allocations: 0.8067 MB / 0.7339 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.1808, allocations: 12.02 kB / 0.7339 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.473e-05/0.1808, allocations: 4.188 kB / 0.7339 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.624e-05/0.1809, allocations: 38.69 kB / 0.7339 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.181, allocations: 60.7 kB / 0.734 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.1815, allocations: 256.7 kB / 0.7342 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.089e-05/0.1815, allocations: 16.36 kB / 0.7343 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.391e-05/0.1816, allocations: 32.36 kB / 0.7343 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.1826, allocations: 209.8 kB / 0.7345 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1827, allocations: 0 / 0.7345 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.1827, allocations: 4 kB / 0.7345 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1827, allocations: 4 kB / 0.7345 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007825/0.1835, allocations: 99.91 kB / 0.7346 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.184, allocations: 352.4 kB / 0.7349 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.185, allocations: 178.5 kB / 0.7351 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007659/0.1858, allocations: 104.8 kB / 0.7352 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.1858, allocations: 3.984 kB / 0.7352 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/0.1869, allocations: 231.1 kB / 0.7354 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/0.1869, allocations: 0 / 0.7354 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002706/0.1896, allocations: 487.7 kB / 0.7359 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.1897, allocations: 63.39 kB / 0.7359 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/0.1902, allocations: 409.9 kB / 0.7363 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.36e-05/0.1902, allocations: 45.69 kB / 0.7364 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.069e-05/0.1903, allocations: 97.44 kB / 0.7365 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/0.1904, allocations: 39.64 kB / 0.7365 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.1906, allocations: 133.5 kB / 0.7366 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1908, allocations: 314.8 kB / 0.7369 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.191, allocations: 115.9 kB / 0.737 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.1913, allocations: 173.9 kB / 0.7372 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.1918, allocations: 271 kB / 0.7375 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1918, allocations: 4 kB / 0.7375 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009587/0.1927, allocations: 0.4889 MB / 0.738 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.82e-05/0.1928, allocations: 83.38 kB / 0.738 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1928, allocations: 4 kB / 0.738 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1928, allocations: 4 kB / 0.738 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.193, allocations: 23.92 kB / 0.7381 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.193, allocations: 4 kB / 0.7381 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.1935, allocations: 67.95 kB / 0.7381 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-05/0.1936, allocations: 63.97 kB / 0.7382 GB, free: 7.715 MB / 0.5606 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.0002488/0.1939, allocations: 187.7 kB / 0.7384 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.194, allocations: 47.66 kB / 0.7384 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.194, allocations: 39.67 kB / 0.7385 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.194, allocations: 8 kB / 0.7385 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.194, allocations: 0 / 0.7385 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.194, allocations: 0 / 0.7385 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.1963, allocations: 0.7161 MB / 0.7392 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1963, allocations: 4 kB / 0.7392 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.03e-05/0.1964, allocations: 7.984 kB / 0.7392 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1964, allocations: 0 / 0.7392 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.277e-05/0.1964, allocations: 19.98 kB / 0.7392 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1964, allocations: 0 / 0.7392 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1964, allocations: 4 kB / 0.7392 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.1982, allocations: 483.4 kB / 0.7397 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/0.1985, allocations: 125.6 kB / 0.7398 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.921e-05/0.1986, allocations: 12 kB / 0.7398 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000488/0.1991, allocations: 27.97 kB / 0.7398 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.1991, allocations: 11.97 kB / 0.7398 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.638e-05/0.1992, allocations: 67.92 kB / 0.7399 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003126/0.1995, allocations: 291.1 kB / 0.7402 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1995, allocations: 0 / 0.7402 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004079/0.1999, allocations: 67.98 kB / 0.7402 GB, free: 5.551 MB / 0.5606 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.002214/0.2021, allocations: 1.033 MB / 0.7412 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.2034, allocations: 398.5 kB / 0.7416 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2034, allocations: 0 / 0.7416 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007685/0.2042, allocations: 115.8 kB / 0.7417 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.2046, allocations: 36.61 kB / 0.7418 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00468/0.2093, allocations: 2.796 MB / 0.7445 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.2097, allocations: 0.7708 MB / 0.7452 GB, free: 216 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.681e-05/0.2098, allocations: 13.08 kB / 0.7453 GB, free: 204 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/0.2099, allocations: 27.44 kB / 0.7453 GB, free: 176 kB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/0.2099, allocations: 0 / 0.7453 GB, free: 176 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.2396, allocations: 6.338 MB / 0.7515 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.67, allocations: 17.38 kB / 0.7515 GB, free: 9.887 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.961460725986399] Failed to read output from testmodel.py, exit status != 0: 11.839570162002929 12.265074792 12.081975263 Calling exit ...